You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add image and link support to social share nodes, standardize naming
- LinkedIn Share Post: add image upload (register + upload to Digital Media API)
and link attachment (ARTICLE media category) support
- Reddit Share Post: add image upload (S3 lease + upload) support with kind=image
- Rename Reddit submit-post-reddit → share-post-reddit and X create-post-x →
share-post-x for consistent naming across all social integrations
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@@ -14,7 +15,7 @@ export class SharePostLinkedInNode extends ExecutableNode {
14
15
tags: ["Social","LinkedIn","Post","Share"],
15
16
icon: "send",
16
17
documentation:
17
-
"This node shares a post to your LinkedIn profile. Supports text content and optional URLs. Requires a connected LinkedIn integration.",
18
+
"This node shares a post to your LinkedIn profile. Supports text content with optional image or link attachments. Requires a connected LinkedIn integration.",
18
19
usage: 10,
19
20
subscription: true,
20
21
asTool: true,
@@ -33,6 +34,30 @@ export class SharePostLinkedInNode extends ExecutableNode {
33
34
description: "Post text content",
34
35
required: true,
35
36
},
37
+
{
38
+
name: "image",
39
+
type: "image",
40
+
description: "Optional image to attach to the post",
41
+
required: false,
42
+
},
43
+
{
44
+
name: "linkUrl",
45
+
type: "string",
46
+
description: "Optional link URL to attach to the post",
47
+
required: false,
48
+
},
49
+
{
50
+
name: "linkTitle",
51
+
type: "string",
52
+
description: "Title for the link attachment",
53
+
required: false,
54
+
},
55
+
{
56
+
name: "linkDescription",
57
+
type: "string",
58
+
description: "Description for the link attachment",
59
+
required: false,
60
+
},
36
61
{
37
62
name: "visibility",
38
63
type: "string",
@@ -56,9 +81,95 @@ export class SharePostLinkedInNode extends ExecutableNode {
56
81
],
57
82
};
58
83
84
+
privateasyncregisterAndUploadImage(
85
+
accessToken: string,
86
+
userId: string,
87
+
image: ImageParameter
88
+
): Promise<string>{
89
+
// Step 1: Register the upload to get an upload URL and asset URN
0 commit comments