Resource

Social Media Automation using n8n

March 3, 2026
Resource

The Automated News-to-Content Engine

Stop wondering what to post.

This automation scans 50+ trusted news sources daily, identifies high-signal stories in your niche, ranks them by relevance, and instantly converts them into ready-to-publish social posts.

What It Does

  • Monitors 50+ curated industry sources
  • Detects emerging trends before they hit mainstream feeds
  • Scores stories by relevance to your niche
  • Generates platform-ready social content automatically

What You Get

  • A steady stream of timely, relevant content
  • 15–20 hours saved every month
  • Early access to trending conversations
  • Consistent authority positioning in your space

No more content droughts.
No more reactive posting.
Just timely, strategic visibility—on autopilot.

socal-media-automation.jsonjson
1{
2  "id": "CfdF2XtXC68iJ6Hr",
3  "meta": {
4    "instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef",
5    "templateCredsSetupCompleted": true
6  },
7  "name": "Automated AI Powered Social Media Content Factory for X(Twitter) + Facebook + Instagram + LinkedIn",
8  "tags": [],
9  "nodes": [
10    {
11      "id": "1e77584f-76b4-420b-b6b0-99132d6c0151",
12      "name": "Sticky Note",
13      "type": "n8n-nodes-base.stickyNote",
14      "position": [
15        -300,
16        -900
17      ],
18      "parameters": {
19        "color": 4,
20        "width": 360,
21        "height": 360,
22        "content": "# User Input for Social Media Posts \nUnpin default data to get started"
23      },
24      "typeVersion": 1
25    },
26    {
27      "id": "dc92fcf1-3618-4188-a30f-6c2205cc3266",
28      "name": "Sticky Note1",
29      "type": "n8n-nodes-base.stickyNote",
30      "position": [
31        100,
32        -940
33      ],
34      "parameters": {
35        "color": 6,
36        "width": 640,
37        "height": 600,
38        "content": "# Social Media Content Factory\n- LinkedIn\n- Instagram\n- Facebook\n- X\n- TikTok\n- Threads\n- YouTube Shorts\n"
39      },
40      "typeVersion": 1
41    },
42    {
43      "id": "02429ea7-be59-49e3-9d85-c1678ee64abd",
44      "name": "Sticky Note2",
45      "type": "n8n-nodes-base.stickyNote",
46      "position": [
47        1840,
48        -700
49      ],
50      "parameters": {
51        "color": 4,
52        "width": 400,
53        "height": 360,
54        "content": "# Approve Content Before Proceeding"
55      },
56      "typeVersion": 1
57    },
58    {
59      "id": "fa38e25c-89e9-4d9b-be78-03aeb6965e30",
60      "name": "Sticky Note5",
61      "type": "n8n-nodes-base.stickyNote",
62      "position": [
63        1300,
64        -900
65      ],
66      "parameters": {
67        "color": 5,
68        "width": 500,
69        "height": 560,
70        "content": "# ✉️ Prepare & Format Approval Email"
71      },
72      "typeVersion": 1
73    },
74    {
75      "id": "9b6e2038-9f65-4e0f-b13d-6c09e8224ed6",
76      "name": "Social Media Content",
77      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
78      "position": [
79        560,
80        -540
81      ],
82      "parameters": {
83        "schemaType": "manual",
84        "inputSchema": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"name\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"description\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"platform_posts\": {\n\t\t\t\"type\": \"object\",\n\t\t\t\"properties\": {\n\t\t\t\t\"LinkedIn\": {\n\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t\"properties\": {\n                        \"image_suggestion\": {\n                  \t\t\t\"type\": \"string\"\n                  \t\t},\n\t\t\t\t\t\t\"post\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"hashtags\": {\n\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"call_to_action\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"Instagram\": {\n\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t\"properties\": {\n\t\t\t\t\t\t\"image_suggestion\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"caption\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"hashtags\": {\n\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"emojis\": {\n\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"call_to_action\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"Facebook\": {\n\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t\"properties\": {\n\t\t\t\t\t\t\"post\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"hashtags\": {\n\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"call_to_action\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"image_suggestion\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"X-Twitter\": {\n\t\t\t\t\t\"type\": \"object\",\n\t\t\t\t\t\"properties\": {\n                        \"video_suggestion\": {\n                \t\t\t\"type\": \"string\"\n                \t\t},\n                        \"image_suggestion\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"post\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"hashtags\": {\n\t\t\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"character_limit\": {\n\t\t\t\t\t\t\t\"type\": \"integer\"\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n                \"TikTok\": {\n                \t\"type\": \"object\",\n                \t\"properties\": {\n                \t\t\"video_suggestion\": {\n                \t\t\t\"type\": \"string\"\n                \t\t},\n                \t\t\"caption\": {\n                \t\t\t\"type\": \"string\"\n                \t\t},\n                \t\t\"hashtags\": {\n                \t\t\t\"type\": \"array\",\n                \t\t\t\"items\": {\n                \t\t\t\t\"type\": \"string\"\n                \t\t\t}\n                \t\t},\n                \t\t\"call_to_action\": {\n                \t\t\t\"type\": \"string\"\n                \t\t}\n                \t}\n                },\n                \"Threads\": {\n                \t\"type\": \"object\",\n                \t\"properties\": {\n                       \"image_suggestion\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n                \t\t\"text_post\": {\n                \t\t\t\"type\": \"string\"\n                \t\t},\n                \t\t\"hashtags\": {\n                \t\t\t\"type\": \"array\",\n                \t\t\t\"items\": {\n                \t\t\t\t\"type\": \"string\"\n                \t\t\t}\n                \t\t},\n                \t\t\"call_to_action\": {\n                \t\t\t\"type\": \"string\"\n                \t\t}\n                \t}\n                },\n                \"YouTube_Shorts\": {\n                  \t\"type\": \"object\",\n                  \t\"properties\": {\n                  \t\t\"video_suggestion\": {\n                  \t\t\t\"type\": \"string\"\n                  \t\t},\n                  \t\t\"title\": {\n                  \t\t\t\"type\": \"string\"\n                  \t\t},\n                          \"description\": {\n                              \"type\": \"string\"\n                          },\n                          \"hashtags\": {\n                              \"type\": \"array\",\n                              \"items\": {\n                                  \"type\": \"string\"\n                              }\n                          },\n                          \"call_to_action\": {\n                              \"type\": \"string\"\n                          }\n                      }\n                  }\n\t\t\t}\n\t\t},\n\t\t\"additional_notes\": {\n\t\t\t\"type\": \"string\"\n\t\t}\n\t}\n}\n"
85      },
86      "typeVersion": 1.2
87    },
88    {
89      "id": "a1211873-05ca-48c7-aa93-57d80b37174b",
90      "name": "Google Gemini LLM",
91      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
92      "disabled": true,
93      "position": [
94        320,
95        -540
96      ],
97      "parameters": {
98        "options": {
99          "temperature": 0.4
100        },
101        "modelName": "models/gemini-2.0-flash-exp"
102      },
103      "credentials": {
104        "googlePalmApi": {
105          "id": "credential-id",
106          "name": "googlePalmApi Credential"
107        }
108      },
109      "typeVersion": 1
110    },
111    {
112      "id": "14327277-1e66-401d-9c74-8fdb6d76445f",
113      "name": "gpt-4o-mini",
114      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
115      "position": [
116        1360,
117        -540
118      ],
119      "parameters": {
120        "model": {
121          "__rl": true,
122          "mode": "list",
123          "value": "gpt-4o-mini",
124          "cachedResultName": "gpt-4o-mini"
125        },
126        "options": {
127          "responseFormat": "text"
128        }
129      },
130      "credentials": {
131        "openAiApi": {
132          "id": "credential-id",
133          "name": "openAiApi Credential"
134        }
135      },
136      "typeVersion": 1.2
137    },
138    {
139      "id": "9a49454b-f518-4388-82a7-2529addae3e5",
140      "name": "gpt-4o",
141      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
142      "disabled": true,
143      "position": [
144        1500,
145        -540
146      ],
147      "parameters": {
148        "model": {
149          "__rl": true,
150          "mode": "list",
151          "value": "gpt-4o",
152          "cachedResultName": "gpt-4o"
153        },
154        "options": {
155          "responseFormat": "text"
156        }
157      },
158      "credentials": {
159        "openAiApi": {
160          "id": "credential-id",
161          "name": "openAiApi Credential"
162        }
163      },
164      "typeVersion": 1.2
165    },
166    {
167      "id": "56eb9c72-87fc-42b2-b576-be68b3a8c7d2",
168      "name": "gpt-4o LLM",
169      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
170      "position": [
171        180,
172        -540
173      ],
174      "parameters": {
175        "model": {
176          "__rl": true,
177          "mode": "list",
178          "value": "gpt-4o",
179          "cachedResultName": "gpt-4o"
180        },
181        "options": {
182          "responseFormat": "text"
183        }
184      },
185      "credentials": {
186        "openAiApi": {
187          "id": "credential-id",
188          "name": "openAiApi Credential"
189        }
190      },
191      "typeVersion": 1.2
192    },
193    {
194      "id": "bf4e6d41-b2be-44fc-8fc7-6dc6bc4ee69a",
195      "name": "pollinations.ai",
196      "type": "n8n-nodes-base.httpRequest",
197      "disabled": true,
198      "position": [
199        980,
200        780
201      ],
202      "parameters": {
203        "url": "=https://image.pollinations.ai/prompt/{{$('Social Media Content Factory').item.json.output.description.replaceAll(' ','-').replaceAll(',','').replaceAll('.','') }}",
204        "options": {}
205      },
206      "typeVersion": 4.2
207    },
208    {
209      "id": "5a950645-8e74-4be8-bad2-73d9f827a6b8",
210      "name": "Sticky Note6",
211      "type": "n8n-nodes-base.stickyNote",
212      "position": [
213        880,
214        620
215      ],
216      "parameters": {
217        "width": 300,
218        "height": 340,
219        "content": "## Create Post Image\nhttps://pollinations.ai/\nhttps://image.pollinations.ai/prompt/[your image description]\n\n(alternative)"
220      },
221      "typeVersion": 1
222    },
223    {
224      "id": "7b5b53eb-85c6-4a90-b209-7bd8d638f237",
225      "name": "Merge",
226      "type": "n8n-nodes-base.merge",
227      "position": [
228        700,
229        20
230      ],
231      "parameters": {
232        "mode": "combine",
233        "options": {
234          "includeUnpaired": true
235        },
236        "combineBy": "combineByPosition"
237      },
238      "typeVersion": 3
239    },
240    {
241      "id": "daa6773e-0e15-4994-bcee-b3d996655855",
242      "name": "Save Image to imgbb.com3",
243      "type": "n8n-nodes-base.httpRequest",
244      "position": [
245        360,
246        -140
247      ],
248      "parameters": {
249        "url": "https://api.imgbb.com/1/upload",
250        "method": "POST",
251        "options": {
252          "redirect": {
253            "redirect": {}
254          }
255        },
256        "sendBody": true,
257        "sendQuery": true,
258        "contentType": "multipart-form-data",
259        "bodyParameters": {
260          "parameters": [
261            {
262              "name": "image",
263              "parameterType": "formBinaryData",
264              "inputDataFieldName": "data"
265            }
266          ]
267        },
268        "queryParameters": {
269          "parameters": [
270            {
271              "name": "expiration",
272              "value": "0"
273            },
274            {
275              "name": "key",
276              "value": "={{ $env.IMGBB_API_KEY}} "
277            }
278          ]
279        }
280      },
281      "typeVersion": 4.2
282    },
283    {
284      "id": "af06853c-258e-4dfb-a579-3168c8de96bd",
285      "name": "Instagram Image",
286      "type": "n8n-nodes-base.httpRequest",
287      "onError": "continueRegularOutput",
288      "position": [
289        1700,
290        -60
291      ],
292      "parameters": {
293        "url": "https://graph.facebook.com/v20.0/[your-unique-id]/media",
294        "method": "POST",
295        "options": {},
296        "sendQuery": true,
297        "authentication": "predefinedCredentialType",
298        "queryParameters": {
299          "parameters": [
300            {
301              "name": "image_url",
302              "value": "={{ $json.data.medium.url }}"
303            },
304            {
305              "name": "caption",
306              "value": "={{ $('Social Media Content Factory').item.json.output.platform_posts.Instagram.caption }}"
307            }
308          ]
309        },
310        "nodeCredentialType": "facebookGraphApi"
311      },
312      "credentials": {
313        "facebookGraphApi": {
314          "id": "credential-id",
315          "name": "facebookGraphApi Credential"
316        }
317      },
318      "typeVersion": 4.2
319    },
320    {
321      "id": "6ee72138-a8ec-4fbd-8f14-fd6e881edfd1",
322      "name": "Instragram Post",
323      "type": "n8n-nodes-base.facebookGraphApi",
324      "onError": "continueRegularOutput",
325      "position": [
326        1700,
327        160
328      ],
329      "parameters": {
330        "edge": "media_publish",
331        "node": "[your-unique-id]",
332        "options": {
333          "queryParameters": {
334            "parameter": [
335              {
336                "name": "creation_id",
337                "value": "={{ $json.id }}"
338              },
339              {
340                "name": "caption",
341                "value": "={{ $('Social Media Content Factory').item.json.output.platform_posts.Instagram.caption }}"
342              }
343            ]
344          }
345        },
346        "graphApiVersion": "v20.0",
347        "httpRequestMethod": "POST"
348      },
349      "credentials": {
350        "facebookGraphApi": {
351          "id": "credential-id",
352          "name": "facebookGraphApi Credential"
353        }
354      },
355      "typeVersion": 1,
356      "alwaysOutputData": true
357    },
358    {
359      "id": "9e168865-1eae-4e53-99c9-91b041426ecb",
360      "name": "X Post",
361      "type": "n8n-nodes-base.twitter",
362      "onError": "continueRegularOutput",
363      "position": [
364        1700,
365        380
366      ],
367      "parameters": {
368        "text": "={{ $('Social Media Content Factory').item.json.output.platform_posts['X-Twitter'].post }}",
369        "additionalFields": {}
370      },
371      "credentials": {
372        "twitterOAuth2Api": {
373          "id": "credential-id",
374          "name": "twitterOAuth2Api Credential"
375        }
376      },
377      "typeVersion": 2,
378      "alwaysOutputData": true
379    },
380    {
381      "id": "4ee55c94-7251-445e-8ce7-15eee7165010",
382      "name": "Facebook Post",
383      "type": "n8n-nodes-base.facebookGraphApi",
384      "onError": "continueRegularOutput",
385      "position": [
386        1700,
387        600
388      ],
389      "parameters": {
390        "edge": "photos",
391        "node": "[your-unique-id]",
392        "options": {
393          "queryParameters": {
394            "parameter": [
395              {
396                "name": "message",
397                "value": "={{ $('Social Media Content Factory').item.json.output.platform_posts.Facebook.post }}\n\n{{ $('Social Media Content Factory').item.json.output.platform_posts.Facebook.call_to_action }}\n"
398              },
399              {
400                "name": "link",
401                "value": "={{ $('Social Media Content Factory').item.json.output.platform_posts.Facebook.call_to_action }}"
402              }
403            ]
404          }
405        },
406        "sendBinaryData": true,
407        "graphApiVersion": "v20.0",
408        "httpRequestMethod": "POST",
409        "binaryPropertyName": "data"
410      },
411      "credentials": {
412        "facebookGraphApi": {
413          "id": "credential-id",
414          "name": "facebookGraphApi Credential"
415        }
416      },
417      "typeVersion": 1,
418      "alwaysOutputData": true
419    },
420    {
421      "id": "3a015f3f-a162-411a-85e8-e1f042d9c653",
422      "name": "LinkedIn Post",
423      "type": "n8n-nodes-base.linkedIn",
424      "onError": "continueRegularOutput",
425      "position": [
426        1700,
427        780
428      ],
429      "parameters": {
430        "text": "={{ $('Social Media Content Factory').item.json.output.platform_posts.LinkedIn.post }}\n{{ $('Social Media Content Factory').item.json.output.platform_posts.LinkedIn.call_to_action }}\n{{ $('Social Media Content Factory').item.json.output.platform_posts.LinkedIn.hashtags }}\n{{ $('Social Media Content Factory').item.json.output.platform_posts.LinkedIn.call_to_action }}",
431        "postAs": "organization",
432        "organization": "12345678",
433        "additionalFields": {},
434        "binaryPropertyName": "=data",
435        "shareMediaCategory": "IMAGE"
436      },
437      "credentials": {
438        "linkedInOAuth2Api": {
439          "id": "credential-id",
440          "name": "linkedInOAuth2Api Credential"
441        }
442      },
443      "typeVersion": 1,
444      "alwaysOutputData": true
445    },
446    {
447      "id": "8ab03d75-b4c5-4271-8fa9-830f449a3a3c",
448      "name": "OpenAI",
449      "type": "@n8n/n8n-nodes-langchain.openAi",
450      "position": [
451        40,
452        -20
453      ],
454      "parameters": {
455        "prompt": "={{ $('Social Media Content Factory').item.json.output.platform_posts.Instagram.caption }}",
456        "options": {},
457        "resource": "image"
458      },
459      "credentials": {
460        "openAiApi": {
461          "id": "credential-id",
462          "name": "openAiApi Credential"
463        }
464      },
465      "typeVersion": 1.8,
466      "alwaysOutputData": true
467    },
468    {
469      "id": "d1ac29b1-128d-4615-b828-89f1f64d1b15",
470      "name": "Merge1",
471      "type": "n8n-nodes-base.merge",
472      "position": [
473        1440,
474        -60
475      ],
476      "parameters": {
477        "mode": "combine",
478        "options": {},
479        "combineBy": "combineByPosition"
480      },
481      "typeVersion": 3
482    },
483    {
484      "id": "71eebce8-027a-4b12-b07e-692121de9a68",
485      "name": "Merge2",
486      "type": "n8n-nodes-base.merge",
487      "position": [
488        1440,
489        680
490      ],
491      "parameters": {
492        "mode": "combine",
493        "options": {
494          "includeUnpaired": true
495        },
496        "combineBy": "combineByPosition"
497      },
498      "typeVersion": 3
499    },
500    {
501      "id": "140cff41-a619-4111-8dc9-3ec8fc45e061",
502      "name": "Aggregate",
503      "type": "n8n-nodes-base.aggregate",
504      "position": [
505        -240,
506        520
507      ],
508      "parameters": {
509        "options": {},
510        "aggregate": "aggregateAllItemData"
511      },
512      "typeVersion": 1
513    },
514    {
515      "id": "3e96bfac-dad5-4b75-b51b-50329892ee70",
516      "name": "gpt-4o-mini1",
517      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
518      "position": [
519        -20,
520        540
521      ],
522      "parameters": {
523        "model": {
524          "__rl": true,
525          "mode": "list",
526          "value": "gpt-4o-mini",
527          "cachedResultName": "gpt-4o-mini"
528        },
529        "options": {
530          "responseFormat": "text"
531        }
532      },
533      "credentials": {
534        "openAiApi": {
535          "id": "credential-id",
536          "name": "openAiApi Credential"
537        }
538      },
539      "typeVersion": 1.2
540    },
541    {
542      "id": "4d73d59f-bb8c-481b-877a-bf4dc64f3277",
543      "name": "gpt-4o-mini2",
544      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
545      "position": [
546        -20,
547        820
548      ],
549      "parameters": {
550        "model": {
551          "__rl": true,
552          "mode": "list",
553          "value": "gpt-4o-mini",
554          "cachedResultName": "gpt-4o-mini"
555        },
556        "options": {
557          "responseFormat": "text"
558        }
559      },
560      "credentials": {
561        "openAiApi": {
562          "id": "credential-id",
563          "name": "openAiApi Credential"
564        }
565      },
566      "typeVersion": 1.2
567    },
568    {
569      "id": "aaef70d7-6029-4fae-afc1-72a6a0019b03",
570      "name": "Gmail User for Approval",
571      "type": "n8n-nodes-base.gmail",
572      "position": [
573        2000,
574        -540
575      ],
576      "webhookId": "c46cf421-ddb6-45a8-b83b-80b381666f0e",
577      "parameters": {
578        "sendTo": "={{ $env.EMAIL_ADDRESS_JOE }} ",
579        "message": "={{ $json.output }}",
580        "options": {
581          "limitWaitTime": {
582            "values": {
583              "resumeUnit": "minutes",
584              "resumeAmount": 45
585            }
586          }
587        },
588        "subject": "=🔥FOR APPROVAL🔥{{ $('Social Media Content Factory').item.json.output.name }} - {{ $('Social Media Content Factory').item.json.output.description }}",
589        "operation": "sendAndWait",
590        "approvalOptions": {
591          "values": {
592            "approvalType": "double"
593          }
594        }
595      },
596      "credentials": {
597        "gmailOAuth2": {
598          "id": "credential-id",
599          "name": "gmailOAuth2 Credential"
600        }
601      },
602      "typeVersion": 2.1
603    },
604    {
605      "id": "44e3bada-7665-4268-bb79-12ffb377552e",
606      "name": "Sticky Note3",
607      "type": "n8n-nodes-base.stickyNote",
608      "position": [
609        1600,
610        -140
611      ],
612      "parameters": {
613        "color": 6,
614        "width": 300,
615        "height": 1100,
616        "content": "## Publish to Social Media"
617      },
618      "typeVersion": 1
619    },
620    {
621      "id": "75bfc1f4-0afa-4d8d-b5cc-83e29b6570f9",
622      "name": "Sticky Note4",
623      "type": "n8n-nodes-base.stickyNote",
624      "position": [
625        1940,
626        80
627      ],
628      "parameters": {
629        "color": 5,
630        "width": 300,
631        "height": 880,
632        "content": "## Format Results"
633      },
634      "typeVersion": 1
635    },
636    {
637      "id": "ff5d050a-111c-4467-bc61-e51444943cb5",
638      "name": "Sticky Note7",
639      "type": "n8n-nodes-base.stickyNote",
640      "position": [
641        -360,
642        240
643      ],
644      "parameters": {
645        "color": 7,
646        "width": 1020,
647        "height": 760,
648        "content": "# Step 4️⃣: Send Final Results of Social Media Factory"
649      },
650      "typeVersion": 1
651    },
652    {
653      "id": "26a684cc-72d9-40c8-bd30-1d074d914328",
654      "name": "Sticky Note8",
655      "type": "n8n-nodes-base.stickyNote",
656      "position": [
657        -40,
658        -100
659      ],
660      "parameters": {
661        "color": 3,
662        "width": 260,
663        "height": 260,
664        "content": "## Create Post Image"
665      },
666      "typeVersion": 1
667    },
668    {
669      "id": "930e76ac-6e9c-4a3f-9229-28ba18de25a3",
670      "name": "Approve Final Post Content",
671      "type": "n8n-nodes-base.gmail",
672      "disabled": true,
673      "position": [
674        980,
675        380
676      ],
677      "webhookId": "c46cf421-ddb6-45a8-b83b-80b381666f0e",
678      "parameters": {
679        "sendTo": "={{ $env.EMAIL_ADDRESS_JOE }} ",
680        "message": "=<html>\n<body style=\"margin:0; padding:0; font-family: Arial, sans-serif; background-color: #f5f5f5;\">\n  <div style=\"max-width: 600px; margin: 0 auto; padding: 20px;\">\n\n    <h2 style=\"font-size:20px; color:#333; margin:0 0 15px 0;\">LinkedIn</h2>\n      \n    <!-- LinkedIn Card -->\n    <div style=\"background: #ffffff; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);\">\n\n      <!-- Card Header Image -->\n      <div style=\"height: 200px; overflow: hidden; border-radius: 8px 8px 0 0;\">\n        <img src=\"{{ $json.data.medium.url }}\" alt=\"Featured Image\" style=\"width: 100%; height: 100%; object-fit: cover;\">\n      </div>\n\n      <!-- Card Content -->\n      <div style=\"padding: 25px;\">\n\n        <p style=\"font-size:16px; color:#555; line-height: 1.6; margin-bottom: 15px;\">\n          {{ $('Social Media Content Factory').item.json.output.platform_posts.LinkedIn.post }}\n        </p>\n        \n        <div style=\"margin: 15px 0;\">\n          <span style=\"display: inline-block; background: #f0f0f0; padding: 4px 8px; margin: 2px; border-radius: 4px; font-size:12px; color:#333;\">\n            {{ $('Social Media Content Factory').item.json.output.platform_posts.LinkedIn.hashtags }}\n          </span>\n        </div>\n\n        <p style=\"font-size:14px; color:#1a0dab; font-weight: 600; margin:15px 0 0 0;\">\n          {{ $('Social Media Content Factory').item.json.output.platform_posts.LinkedIn.call_to_action }}\n        </p>\n      </div>\n    </div>\n  </div>\n</body>\n</html>\n",
681        "options": {
682          "limitWaitTime": {
683            "values": {
684              "resumeUnit": "minutes",
685              "resumeAmount": 45
686            }
687          }
688        },
689        "subject": "=🔥FOR APPROVAL🔥 New LinkedIn Post",
690        "operation": "sendAndWait",
691        "approvalOptions": {
692          "values": {
693            "approvalType": "double"
694          }
695        }
696      },
697      "credentials": {
698        "gmailOAuth2": {
699          "id": "credential-id",
700          "name": "gmailOAuth2 Credential"
701        }
702      },
703      "typeVersion": 2.1
704    },
705    {
706      "id": "051b7ff6-febb-4aba-9790-bc977c11e645",
707      "name": "Sticky Note9",
708      "type": "n8n-nodes-base.stickyNote",
709      "position": [
710        880,
711        240
712      ],
713      "parameters": {
714        "width": 300,
715        "height": 340,
716        "content": "## Final Approval before Publishing to Social Feeds\n(optional)"
717      },
718      "typeVersion": 1
719    },
720    {
721      "id": "b42df164-47ae-4e08-9099-d0958dd41c8f",
722      "name": "Is Approved?",
723      "type": "n8n-nodes-base.if",
724      "position": [
725        1160,
726        20
727      ],
728      "parameters": {
729        "options": {},
730        "conditions": {
731          "options": {
732            "version": 2,
733            "leftValue": "",
734            "caseSensitive": true,
735            "typeValidation": "strict"
736          },
737          "combinator": "and",
738          "conditions": [
739            {
740              "id": "efe337a1-63e0-4513-873d-421bf41e4868",
741              "operator": {
742                "type": "boolean",
743                "operation": "true",
744                "singleValue": true
745              },
746              "leftValue": "={{ $json.data.approved }}",
747              "rightValue": ""
748            }
749          ]
750        }
751      },
752      "typeVersion": 2.2
753    },
754    {
755      "id": "e3193aef-d115-4c3b-87b2-b8ebd5bb0c05",
756      "name": "Instagram Result",
757      "type": "n8n-nodes-base.set",
758      "position": [
759        2040,
760        160
761      ],
762      "parameters": {
763        "options": {},
764        "assignments": {
765          "assignments": [
766            {
767              "id": "5c6edc76-1e3b-45b0-8baa-33a14c678150",
768              "name": "Instagram Post Result",
769              "type": "string",
770              "value": "={{ $json }}"
771            }
772          ]
773        }
774      },
775      "typeVersion": 3.4
776    },
777    {
778      "id": "6f8b248f-5c79-412c-81ef-3c52bef7f257",
779      "name": "X Result",
780      "type": "n8n-nodes-base.set",
781      "position": [
782        2040,
783        380
784      ],
785      "parameters": {
786        "options": {},
787        "assignments": {
788          "assignments": [
789            {
790              "id": "5c6edc76-1e3b-45b0-8baa-33a14c678150",
791              "name": "X Post Result",
792              "type": "string",
793              "value": "={{ $json }}"
794            }
795          ]
796        }
797      },
798      "typeVersion": 3.4
799    },
800    {
801      "id": "4c1ee118-aba1-4632-bd48-27cef9d5e272",
802      "name": "Facebook Result",
803      "type": "n8n-nodes-base.set",
804      "position": [
805        2040,
806        600
807      ],
808      "parameters": {
809        "options": {},
810        "assignments": {
811          "assignments": [
812            {
813              "id": "5c6edc76-1e3b-45b0-8baa-33a14c678150",
814              "name": "Facebook Post Result",
815              "type": "string",
816              "value": "={{ $json }}"
817            }
818          ]
819        }
820      },
821      "typeVersion": 3.4
822    },
823    {
824      "id": "490223f9-9b6a-4617-8829-c8e4b130feb7",
825      "name": "LinkedIn Result",
826      "type": "n8n-nodes-base.set",
827      "position": [
828        2040,
829        780
830      ],
831      "parameters": {
832        "options": {},
833        "assignments": {
834          "assignments": [
835            {
836              "id": "5c6edc76-1e3b-45b0-8baa-33a14c678150",
837              "name": "LinkedIn Post Result",
838              "type": "string",
839              "value": "={{ $json }}"
840            }
841          ]
842        }
843      },
844      "typeVersion": 3.4
845    },
846    {
847      "id": "9732c12e-903e-49ac-8d29-ffc4d78c7ff8",
848      "name": "Submit Social Post Details",
849      "type": "n8n-nodes-base.formTrigger",
850      "position": [
851        -180,
852        -740
853      ],
854      "webhookId": "3e762442-715e-47e1-a65e-ae92085857ae",
855      "parameters": {
856        "options": {
857          "buttonLabel": "Automatically Generate Social Media Content"
858        },
859        "formTitle": "badalkhatri.com",
860        "formFields": {
861          "values": [
862            {
863              "fieldLabel": "Topic",
864              "placeholder": "Provide a concise and clear title or main topic for your post (e.g., \"New Product Launch,\" \"Exciting Company Update\"). This helps the AI accurately capture the focus of your content.",
865              "requiredField": true
866            },
867            {
868              "fieldLabel": "Keywords or Hashtags (optional)",
869              "placeholder": "Include any specific keywords or hashtags you'd like the AI to incorporate into the post. This ensures the content aligns with your branding and campaign objectives.",
870              "requiredField": "={{ false }}"
871            },
872            {
873              "fieldLabel": "Link (optional)",
874              "placeholder": "=Provide the URL of any product, service, form, support page, or other resource. This link will be included in the generated post to direct your audience to the relevant content.\n"
875            }
876          ]
877        },
878        "responseMode": "lastNode",
879        "formDescription": "=Welcome to the badalkhatri.com AI-Powered Assistant!\n\nThis tool is designed to streamline and enhance your social media content creation process.\n\nSimply provide key inputs like a topic or title and an optional image, and our intelligent agent will generate engaging, platform-specific post descriptions tailored to your audience. \n\nWhether you're a marketer, business owner, or influencer, this assistant saves you time while delivering professional-quality content optimized for maximum impact.\n\n"
880      },
881      "typeVersion": 2.2
882    },
883    {
884      "id": "899f658f-4faa-4ba7-ae02-cc8fb1d22c71",
885      "name": "Sticky Note10",
886      "type": "n8n-nodes-base.stickyNote",
887      "position": [
888        -360,
889        -1060
890      ],
891      "parameters": {
892        "color": 7,
893        "width": 2640,
894        "height": 760,
895        "content": "# Step 1️⃣: Create Social Media Written Content\nNote:  \nYou could use the output of step 1 to create your written content and manually post if required.  \nYou so not have to implement step 2."
896      },
897      "typeVersion": 1
898    },
899    {
900      "id": "a8075b2a-4cd0-4b0c-9b19-8bd58de449c0",
901      "name": "Sticky Note11",
902      "type": "n8n-nodes-base.stickyNote",
903      "position": [
904        -360,
905        -260
906      ],
907      "parameters": {
908        "color": 7,
909        "width": 1020,
910        "height": 460,
911        "content": "# Step 2️⃣: Create Image or Upload Image for Social Post"
912      },
913      "typeVersion": 1
914    },
915    {
916      "id": "1da28ef3-9061-4e83-84e0-3502d254d63a",
917      "name": "Sticky Note12",
918      "type": "n8n-nodes-base.stickyNote",
919      "position": [
920        840,
921        -260
922      ],
923      "parameters": {
924        "color": 7,
925        "width": 1680,
926        "height": 1260,
927        "content": "# Step 3️⃣: Publish Final Social Media Posts"
928      },
929      "typeVersion": 1
930    },
931    {
932      "id": "1955b762-b9c4-4704-955b-093686e827bd",
933      "name": "Merge Results",
934      "type": "n8n-nodes-base.merge",
935      "onError": "continueRegularOutput",
936      "position": [
937        2340,
938        780
939      ],
940      "parameters": {
941        "numberInputs": 4
942      },
943      "typeVersion": 3,
944      "alwaysOutputData": true
945    },
946    {
947      "id": "6dc47749-eb49-4351-89aa-50f2b6c035bb",
948      "name": "Social Media Content Factory",
949      "type": "@n8n/n8n-nodes-langchain.agent",
950      "position": [
951        300,
952        -740
953      ],
954      "parameters": {
955        "text": "=You are a **content creation AI** for badalkhatri.com, a leading creator of **n8n workflow automation solutions and AI Agentic workflows**.\n\nYour goal is to craft **engaging, platform-specific content** for LinkedIn, Instagram, Facebook, Twitter (X), TikTok, Threads, and YouTube Shorts. Each post must align with the platform’s audience preferences, tone, and style while reflecting badalkhatri.com's expertise. The content should provide **value-driven insights**, tutorials, reviews, and discussions that resonate with tech professionals, automation enthusiasts, businesses, and n8n users.\n\n### Key Objectives:\n1. **Platform Optimization**: Tailor content format, tone, and hashtags to suit each platform’s algorithm and audience engagement patterns.\n2. **SEO & Hashtags**: Use a mix of general automation hashtags and trending platform-specific hashtags to maximize reach.\n3. **Engagement Focus**: Create content that sparks interaction through tutorials, comparisons, reviews, or thought-provoking discussions.\n4. **Consistency**: Maintain a professional yet approachable tone across all platforms while adapting to audience needs.\n5. **Data-Driven Strategy**: Analyze trends and performance data to refine content strategy and hashtag usage.\n\n### General Hashtags:\n#workflowsdiy #n8n #automation #AIWorkflows #WorkflowAutomation #TechSolutions\n\n---\n\n### Platform-Specific Guidelines:\n\n#### 1. LinkedIn\n   - **Style**: Professional and insightful.\n   - **Tone**: Business-oriented; focus on automation use cases, industry insights, and community impact.\n   - **Content Length**: 3-4 sentences; concise but detailed.\n   - **Hashtags**: #Innovation #Automation #WorkflowSolutions #DigitalTransformation #Leadership\n   - **Call to Action (CTA)**: Encourage comments or visits to badalkhatri.com’s website for more insights.\n\n#### 2. Instagram\n   - **Style**: Visual storytelling with creative captions.\n   - **Tone**: Inspirational and engaging; use emojis for relatability.\n   - **Content Length**: 2-3 sentences paired with eye-catching visuals (e.g., infographics or workflow demos).\n   - **Visuals**: Showcase milestones (e.g., new workflow launches), tutorials, or product highlights.\n   - **CTA**: Use phrases like \"Swipe to learn more,\" \"Tag your team,\" or \"Check out the link below!\"\n   - **Link Placement**: Add the provided link before hashtags; if no link is provided, use \"Visit our website: https://badalkhatri.com.\"\n   - **Hashtags**: #AutomationLife #TechInnovation #WorkflowTips #Programming #Engineering\n\n#### 3. Facebook\n   - **Style**: Friendly and community-focused.\n   - **Tone**: Relatable; highlight user success stories or company achievements in automation.\n   - **Content Length**: 2-3 sentences; conversational yet professional.\n   - **Hashtags**: #SmallBusinessAutomation #Entrepreneurship #Leadership #WorkflowInnovation\n   - **CTA**: Encourage likes, shares, comments (e.g., “What’s your favorite automation tip?”).\n\n#### 4. Twitter (X)\n   - **Style**: Concise and impactful.\n   - **Tone**: Crisp and engaging; spark curiosity in 150 characters or less.\n   - **Hashtags**: #WorkflowTrends #AIWorkflows #AutomationTips #NoCodeSolutions\n   - **CTA**: Drive quick engagement through retweets or replies (e.g., “What’s your go-to n8n workflow?”).\n\n#### 5. TikTok\n   - **Style**: Short-form video content with trending audio or effects.\n   - **Tone**: Fun yet informative; focus on quick workflow demos or automation tips.\n   - **Content Length**: 15-60 seconds with captions summarizing the key message.\n   - **Hashtags**: Use trending tech-related hashtags relevant to TikTok’s audience (e.g., #n8nTips).\n   - **CTA**: Encourage viewers to follow badalkhatri.com for more automation hacks.\n\n#### 6. Threads\n   - **Style**: Conversational and community-driven posts.\n   - **Tone**: Casual yet informative; encourage discussions around automation trends or innovations.\n   - **Content Length**: 1-2 short paragraphs with a question or thought-provoking statement at the end.\n   - **Hashtags**: Similar to Instagram but tailored for trending Threads topics related to automation.\n\n#### 7. YouTube Shorts\n   - **Style**: Short-form video content showcasing quick workflow tutorials or use cases.\n   - **Tone**: Authoritative yet approachable; establish badalkhatri.com as a leader in n8n automation solutions.\n   - Content Length:\n     - Tutorials/Reviews (long-form): 5-10 minutes\n     - Shorts/Highlights (short-form): Under 1 minute\n   - CTA:** Encourage subscriptions**, likes, comments (e.g., “Subscribe for more workflow tips!”).\n\n---\n\n### Content Creation Workflow:\nFor every post:\n1. Use the following input fields:\n    - Topic/About the Post: {{ $json.Topic }}\n    - Keywords/Focus Areas: {{ $json.formMode }}\n    - Link (optional): {{ $json['Link (optional)'] }}\n2. Adapt the tone/style based on the platform guidelines above.\n\nEnsure every post reflects badalkhatri.com's mission of delivering high-quality automation insights while maximizing engagement across platforms.\n\nFollow the provided JSON schema for your reponse.\n",
956        "options": {
957          "systemMessage": "=Use the provided tools to research the topic based on latest information.  Todays date is {{ $now }}"
958        },
959        "promptType": "define",
960        "hasOutputParser": true
961      },
962      "retryOnFail": true,
963      "typeVersion": 1.7
964    },
965    {
966      "id": "88c548bf-40e5-4b89-aef0-9233c3f5bc9c",
967      "name": "Prepare Content Review Email",
968      "type": "@n8n/n8n-nodes-langchain.agent",
969      "position": [
970        1440,
971        -740
972      ],
973      "parameters": {
974        "text": "=Generate clean, modern HTML email content from the provided JSON data with these requirements:\n- Use table-based layout with inline CSS for email compatibility\n- Create card sections for each platform containing:\n  • Title header (20px) \n  • Post content (16px) \n  • Video/image suggestions (italic 14px)\n  • Hashtag list (inline-block with # prefix)\n  • Emoji preservation where present\n  • Call-to-action (bold 14px)\n- Structure using:\n  • 600px max-width container\n  • 20px padding between cards\n  • Left-aligned text hierarchy\n  • Arial/sans-serif font stack\n  • Email-safe colors (#333 text, #555 secondary)\n- Include all platform-specific elements:\n  ▶ Video/image suggestions in italic\n  ▶ Hashtags as linked search terms\n  ▶ Emojis in original positions\n  ▶ Character limits for Twitter\n  ▶ Platform-specific CTAs\n  ▶ Visual quality reminders\n- Format hashtags as:\n  <span style=\"display: inline-block; background: #f0f0f0; padding: 2px 6px; margin: 2px; border-radius: 4px;\">#tag</span>\n\nInput data: {{ $json.output.toJsonString() }}\n\nRemove ALL code blocks and comments. Output ONLY the raw HTML with:\n- Platform cards in JSON order\n- All data elements represented\n- Mobile-responsive tables\n- W3C-valid markup\n\n## Example HTML:\n<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#fbfcfe;border:1px solid #dbdfe7;border-radius:8px\">\n\t\t<tbody><tr>\n\t\t\t<td align=\"center\" style=\"padding:24px 0\">\n\t\t\t\t<table width=\"448\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;max-width:448px;background-color:#ffffff;border:1px solid #dbdfe7;border-radius:8px;padding:24px\">\n\t\t\t\t\t<tbody><tr>\n\t\t\t\t\t\t<td style=\"text-align:center;padding-top:8px;font-family:Arial,sans-serif;font-size:14px;color:#7e8186\">\n\t\t\t\t\t\t\t<p style=\"white-space:pre-line\"></p><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"max-width:600px;font-family:Arial,sans-serif;color:#333\"><tbody><tr><td style=\"padding:20px\"><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f9f9f9;margin-bottom:20px;padding:20px;border-radius:8px\"><tbody><tr><td style=\"font-size:20px;font-weight:bold;padding-bottom:10px\">LinkedIn</td></tr><tr><td style=\"font-size:16px;padding-bottom:10px\">Discover why n8n stands out as the premier workflow automation tool. Its flexibility and open-source nature empower businesses to create custom solutions that drive efficiency and innovation.</td></tr><tr><td style=\"font-size:14px;font-style:italic;padding-bottom:10px\">Video/Image suggestion pending</td></tr><tr><td style=\"padding-bottom:10px\"><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#Innovation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#Automation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>WorkflowSolutions</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>DigitalTransformation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>Leadership</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#workflowsdiy</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8n</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>AIWorkflows</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#WorkflowAutomation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\"><wbr>#TechSolutions</span></td></tr><tr><td style=\"font-size:14px;font-weight:bold\">Visit badalkhatri.com to explore how n8n can transform your business processes!</td></tr></tbody></table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f9f9f9;margin-bottom:20px;padding:20px;border-radius:8px\"><tbody><tr><td style=\"font-size:20px;font-weight:bold;padding-bottom:10px\">Instagram</td></tr><tr><td style=\"font-size:14px;font-style:italic;padding-bottom:10px\">Eye-catching infographic comparing n8n to other automation tools, highlighting its unique features.</td></tr><tr><td style=\"font-size:16px;padding-bottom:10px\">n8n: The ultimate workflow automation tool! <img data-emoji=\"💡\" class=\"an1\" alt=\"💡\" aria-label=\"💡\" draggable=\"false\" src=\"https://fonts.gstatic.com/s/e/notoemoji/16.0/1f4a1/32.png\" loading=\"lazy\"> Unlock limitless possibilities with its open-source platform. Boost your productivity and streamline your processes. <img data-emoji=\"💤\" class=\"an1\" alt=\"💤\" aria-label=\"💤\" draggable=\"false\" src=\"https://fonts.gstatic.com/s/e/notoemoji/16.0/1f4a4/32.png\" loading=\"lazy\"></td></tr><tr><td style=\"padding-bottom:10px\"><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#AutomationLife</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#TechInnovation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\"><wbr>#WorkflowTips</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#Programming</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>Engineering</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#workflowsdiy</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8n</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>AIWorkflows</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#WorkflowAutomation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\"><wbr>#TechSolutions</span></td></tr><tr><td style=\"font-size:14px;font-weight:bold\">Visit our website: <a href=\"https://n8n.io/\" target=\"_blank\" data-saferedirecturl=\"https://www.google.com/url?q=https://n8n.io/&amp;source=gmail&amp;ust=1741030878129000&amp;usg=AOvVaw1Nr6ek3eGwe94zlbPaJrzT\">https://n8n.io/</a> #AutomationLife #TechInnovation #WorkflowTips #Programming #Engineering</td></tr></tbody></table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f9f9f9;margin-bottom:20px;padding:20px;border-radius:8px\"><tbody><tr><td style=\"font-size:20px;font-weight:bold;padding-bottom:10px\">Facebook</td></tr><tr><td style=\"font-size:16px;padding-bottom:10px\">See why businesses are choosing n8n for their workflow automation needs. From its user-friendly interface to its powerful customization options, n8n is revolutionizing how companies approach automation.</td></tr><tr><td style=\"font-size:14px;font-style:italic;padding-bottom:10px\">A visually appealing graphic showcasing n8n's key features and benefits.</td></tr><tr><td style=\"padding-bottom:10px\"><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#SmallBusinessAutomation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>Entrepreneurship</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#Leadership</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>WorkflowInnovation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>workflowsdiy</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8n</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#AIWorkflows</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>WorkflowAutomation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>TechSolutions</span></td></tr><tr><td style=\"font-size:14px;font-weight:bold\">What's your favorite automation tip? Share in the comments!</td></tr></tbody></table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f9f9f9;margin-bottom:20px;padding:20px;border-radius:8px\"><tbody><tr><td style=\"font-size:20px;font-weight:bold;padding-bottom:10px\">Twitter</td></tr><tr><td style=\"font-size:16px;padding-bottom:10px\">n8n: The best #WorkflowAutomation tool! Open-source, customizable, and powerful. Transform your business processes today!</td></tr><tr><td style=\"padding-bottom:10px\"><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#WorkflowTrends</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#AIWorkflows</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>AutomationTips</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#NoCodeSolutions</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\"><wbr>#workflowsdiy</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8n</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>TechSolutions</span></td></tr></tbody></table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f9f9f9;margin-bottom:20px;padding:20px;border-radius:8px\"><tbody><tr><td style=\"font-size:20px;font-weight:bold;padding-bottom:10px\">TikTok</td></tr><tr><td style=\"font-size:14px;font-style:italic;padding-bottom:10px\">Quick demo showcasing how n8n simplifies complex workflows with its intuitive interface.</td></tr><tr><td style=\"font-size:16px;padding-bottom:10px\">n8n: Your go-to for effortless workflow automation! <img data-emoji=\"✨\" class=\"an1\" alt=\"✨\" aria-label=\"✨\" draggable=\"false\" src=\"https://fonts.gstatic.com/s/e/notoemoji/16.0/2728/32.png\" loading=\"lazy\"></td></tr><tr><td style=\"padding-bottom:10px\"><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8nTips</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#workflowsdiy</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8n</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>AIWorkflows</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#WorkflowAutomation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\"><wbr>#TechSolutions</span></td></tr><tr><td style=\"font-size:14px;font-weight:bold\">Follow badalkhatri.com for more automation hacks!</td></tr></tbody></table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f9f9f9;margin-bottom:20px;padding:20px;border-radius:8px\"><tbody><tr><td style=\"font-size:20px;font-weight:bold;padding-bottom:10px\">Threads</td></tr><tr><td style=\"font-size:16px;padding-bottom:10px\">n8n is transforming the automation landscape. Its open-source nature and extensive integrations make it a top choice for businesses of all sizes. What are your thoughts on the future of workflow automation?</td></tr><tr><td style=\"padding-bottom:10px\"><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#workflowsdiy</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8n</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#AIWorkflows</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>WorkflowAutomation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>TechSolutions</span></td></tr><tr><td style=\"font-size:14px;font-weight:bold\">Share your insights below!</td></tr></tbody></table><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#f9f9f9;margin-bottom:20px;padding:20px;border-radius:8px\"><tbody><tr><td style=\"font-size:20px;font-weight:bold;padding-bottom:10px\">YouTube Shorts</td></tr><tr><td style=\"font-size:14px;font-style:italic;padding-bottom:10px\">Short tutorial demonstrating how to build a simple automation workflow in n8n.</td></tr><tr><td style=\"font-size:16px;padding-bottom:10px\">Learn why n8n is the top choice for workflow automation. Its open-source platform and powerful features make it a game-changer for businesses.</td></tr><tr><td style=\"padding-bottom:10px\"><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#n8n</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#automation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>workflowautomation</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#nocode</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>workflowsdiy</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#AIWorkflows</span><span style=\"display:inline-block;background:#f0f0f0;padding:2px 6px;margin:2px;border-radius:4px\">#<wbr>TechSolutions</span></td></tr><tr><td style=\"font-size:14px;font-weight:bold\">Subscribe for more workflow tips!</td></tr></tbody></table></td></tr></tbody></table><p></p>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody>\n</table>\n",
975        "agent": "conversationalAgent",
976        "options": {},
977        "promptType": "define"
978      },
979      "typeVersion": 1.7
980    },
981    {
982      "id": "3b074887-262f-47ab-b69c-c51b3a513993",
983      "name": "Prepare Results Email",
984      "type": "@n8n/n8n-nodes-langchain.agent",
985      "position": [
986        0,
987        380
988      ],
989      "parameters": {
990        "text": "=Parse the social media post results and generate a modern single line HTML table showing platform statuses. For each entry:\n\n-Extract platform name from the JSON key\n-Identify status (Success/Error) based on statusCode or error presence\n-Capture error message if present\n-Format as responsive HTML table with professional styling\n-Ensure email client compatibility with inline CSS\n-Include error handling for invalid JSON formats\n-Remove all line breaks and \\n from response.\n-Avoid any preamble or further explanation and remove all ``` and ```html from response.\n\n## Implementation Example:\nThis solution uses the parsed results from your workflow to generate:\n<table style=\"border-collapse: collapse; width: 100%; font-family: Arial, sans-serif; margin: 20px 0; background-color: #f9f9f9; border: 1px solid #ddd;\">\n    <thead>\n        <tr style=\"background-color: #007bff; color: #fff;\">\n            <th style=\"border: 1px solid #ddd; padding: 12px; text-align: left;\">Platform</th>\n            <th style=\"border: 1px solid #ddd; padding: 12px; text-align: left;\">Status</th>\n            <th style=\"border: 1px solid #ddd; padding: 12px; text-align: left;\">Details</th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr style=\"background-color: #ffffff;\">\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">Instagram</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px; color: #dc3545;\">✗ Error</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">Unsupported post request. Object with ID '[your-unique-id]' does not exist, cannot be loaded due to missing permissions.</td>\n        </tr>\n        <tr style=\"background-color: #f8f9fa;\">\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">X (Twitter)</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px; color: #dc3545;\">✗ Error</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">Unable to sign without access token</td>\n        </tr>\n        <tr style=\"background-color: #ffffff;\">\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">Facebook</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px; color: #dc3545;\">✗ Error</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">Unsupported post request. Object with ID '[your-unique-id]' does not exist, cannot be loaded due to missing permissions.</td>\n        </tr>\n        <tr style=\"background-color: #f8f9fa;\">\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">LinkedIn</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px; color: #dc3545;\">✗ Error</td>\n            <td style=\"border: 1px solid #ddd; padding: 12px;\">Unable to sign without access token</td>\n        </tr>\n    </tbody>\n</table>\n\n\nThis is the social media post results: \n{{ $json.data.toJsonString() }}\n",
991        "agent": "conversationalAgent",
992        "options": {},
993        "promptType": "define"
994      },
995      "typeVersion": 1.7
996    },
997    {
998      "id": "abb3994f-bf23-43f8-9c46-28795cfd2017",
999      "name": "Prepare Results Message",
1000      "type": "@n8n/n8n-nodes-langchain.agent",
1001      "position": [
1002        0,
1003        660
1004      ],
1005      "parameters": {
1006        "text": "=Parse the social media post results and generate a brief summary of the results.\n\nThis is the social media post results: \n{{ $json.data.toJsonString() }}\n\n## Example Response:\nThe social media post results indicate multiple errors when attempting to access or post content on various platforms. \n\n1. Instagram: The response shows a 400 status code with an error message indicating that the specific post request is unsupported due to missing permissions or an invalid object ID. \n\n2. X Post: Success\n\n3. Facebook: Success \n\n4. LinkedIn: Also returned an 'Unable to sign without access token' error. \n\nOverall, access token issues and unsupported requests are frequent problems across these social media platforms.\n",
1007        "agent": "conversationalAgent",
1008        "options": {},
1009        "promptType": "define"
1010      },
1011      "typeVersion": 1.7
1012    },
1013    {
1014      "id": "b4a4838a-83b0-4f28-a9f3-dea915228325",
1015      "name": "Image Choice",
1016      "type": "n8n-nodes-base.form",
1017      "disabled": true,
1018      "position": [
1019        -620,
1020        -120
1021      ],
1022      "webhookId": "0dc811ef-b2e0-4213-a0c9-e9b5fb9fcbf1",
1023      "parameters": {
1024        "options": {
1025          "formTitle": "Generate Post Image",
1026          "buttonLabel": "Submit"
1027        },
1028        "formFields": {
1029          "values": [
1030            {
1031              "fieldType": "file",
1032              "fieldLabel": "Upload Image (optional)",
1033              "multipleFiles": false,
1034              "acceptFileTypes": ".jpg, .png, .jpeg"
1035            },
1036            {
1037              "fieldType": "dropdown",
1038              "fieldLabel": "Generate Custom Image using AI Image Generator",
1039              "fieldOptions": {
1040                "values": [
1041                  {
1042                    "option": "Yes"
1043                  },
1044                  {
1045                    "option": "No"
1046                  }
1047                ]
1048              },
1049              "requiredField": true
1050            }
1051          ]
1052        }
1053      },
1054      "typeVersion": 1
1055    },
1056    {
1057      "id": "1cf97c10-e60f-4584-b069-3d4506868d8e",
1058      "name": "Gmail Results",
1059      "type": "n8n-nodes-base.gmail",
1060      "position": [
1061        360,
1062        380
1063      ],
1064      "webhookId": "0a81b95a-cd82-465d-8450-cf38518a4cbb",
1065      "parameters": {
1066        "sendTo": "={{ $env.EMAIL_ADDRESS_JOE }} ",
1067        "message": "={{ $json.output }}",
1068        "options": {
1069          "appendAttribution": false
1070        },
1071        "subject": "🔥RESULTS🔥 Social Media Factory"
1072      },
1073      "credentials": {
1074        "gmailOAuth2": {
1075          "id": "credential-id",
1076          "name": "gmailOAuth2 Credential"
1077        }
1078      },
1079      "typeVersion": 2.1
1080    },
1081    {
1082      "id": "c845ae46-9d37-472b-ae0f-49fc6940e685",
1083      "name": "Telegram Results",
1084      "type": "n8n-nodes-base.telegram",
1085      "position": [
1086        360,
1087        660
1088      ],
1089      "webhookId": "bb40ede7-03cf-493d-b051-196b96725925",
1090      "parameters": {
1091        "text": "={{ $json.output }}",
1092        "chatId": "={{ $env.TELEGRAM_CHAT_ID }}",
1093        "additionalFields": {
1094          "appendAttribution": false
1095        }
1096      },
1097      "credentials": {
1098        "telegramApi": {
1099          "id": "credential-id",
1100          "name": "telegramApi Credential"
1101        }
1102      },
1103      "typeVersion": 1.2
1104    },
1105    {
1106      "id": "a33f9431-bede-4f66-ae0d-1e686a3092b7",
1107      "name": "Sticky Note13",
1108      "type": "n8n-nodes-base.stickyNote",
1109      "position": [
1110        -320,
1111        340
1112      ],
1113      "parameters": {
1114        "color": 4,
1115        "width": 940,
1116        "height": 620,
1117        "content": ""
1118      },
1119      "typeVersion": 1
1120    },
1121    {
1122      "id": "643b94c6-4535-4876-9660-d82ff69cbcf6",
1123      "name": "Is Content Approved?",
1124      "type": "n8n-nodes-base.if",
1125      "position": [
1126        -240,
1127        -20
1128      ],
1129      "parameters": {
1130        "options": {},
1131        "conditions": {
1132          "options": {
1133            "version": 2,
1134            "leftValue": "",
1135            "caseSensitive": true,
1136            "typeValidation": "strict"
1137          },
1138          "combinator": "and",
1139          "conditions": [
1140            {
1141              "id": "e32d270f-f258-4522-94e1-2cb7ee4e8d2a",
1142              "operator": {
1143                "type": "boolean",
1144                "operation": "true",
1145                "singleValue": true
1146              },
1147              "leftValue": "={{ $json.data.approved }}",
1148              "rightValue": ""
1149            }
1150          ]
1151        }
1152      },
1153      "typeVersion": 2.2
1154    },
1155    {
1156      "id": "fb7108e2-21cf-4df4-ab20-fe75b15b0a24",
1157      "name": "Set Default True 2",
1158      "type": "n8n-nodes-base.set",
1159      "position": [
1160        980,
1161        20
1162      ],
1163      "parameters": {
1164        "options": {},
1165        "assignments": {
1166          "assignments": [
1167            {
1168              "id": "f150aa79-2d20-4869-b60a-350d49a215a5",
1169              "name": "data",
1170              "type": "object",
1171              "value": "={\n  \"approved\": true\n}"
1172            }
1173          ]
1174        }
1175      },
1176      "typeVersion": 3.4
1177    },
1178    {
1179      "id": "66364a53-c2fc-43fd-be92-683b373652df",
1180      "name": "Sticky Note14",
1181      "type": "n8n-nodes-base.stickyNote",
1182      "position": [
1183        -700,
1184        -260
1185      ],
1186      "parameters": {
1187        "width": 300,
1188        "height": 580,
1189        "content": "## Alternative User Uploaded Image\n(optional)"
1190      },
1191      "typeVersion": 1
1192    },
1193    {
1194      "id": "d0025029-1f6f-4b27-8495-00966f1dae12",
1195      "name": "Sticky Note15",
1196      "type": "n8n-nodes-base.stickyNote",
1197      "position": [
1198        880,
1199        -140
1200      ],
1201      "parameters": {
1202        "width": 460,
1203        "height": 340,
1204        "content": "## Implement Additional Approval Here\n(optional)"
1205      },
1206      "typeVersion": 1
1207    },
1208    {
1209      "id": "0a10bca0-c3a8-496b-a22e-120928ad7736",
1210      "name": "SerpAPI",
1211      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
1212      "position": [
1213        460,
1214        -540
1215      ],
1216      "parameters": {
1217        "options": {}
1218      },
1219      "credentials": {
1220        "serpApi": {
1221          "id": "credential-id",
1222          "name": "serpApi Credential"
1223        }
1224      },
1225      "typeVersion": 1
1226    },
1227    {
1228      "id": "fa765062-22ef-4f26-9f02-099235edc771",
1229      "name": "Sticky Note16",
1230      "type": "n8n-nodes-base.stickyNote",
1231      "position": [
1232        780,
1233        -900
1234      ],
1235      "parameters": {
1236        "width": 480,
1237        "height": 500,
1238        "content": "### 💡Notes\n\nAdjust the Social Media Content Factory prompts to suit your personal or business requirements.\n\nUpdate Credentials for:\n- OpenAI API Key\nhttps://auth.openai.com/log-in\n\n- Google Studio API\nhttps://aistudio.google.com/app/apikey\n\n- SERP API Key\nhttps://serpapi.com/\n\n- Gmail OAuth\nhttps://docs.n8n.io/integrations/builtin/credentials/google/\n\n- Telegram Bot (Optional)\nhttps://docs.n8n.io/integrations/builtin/credentials/telegram/\n\n- imgbb\nhttps://imgbb.com/"
1239      },
1240      "typeVersion": 1
1241    },
1242    {
1243      "id": "5ffc2b16-61af-4395-a57b-20d1cd125488",
1244      "name": "Sticky Note17",
1245      "type": "n8n-nodes-base.stickyNote",
1246      "position": [
1247        1940,
1248        -140
1249      ],
1250      "parameters": {
1251        "width": 300,
1252        "height": 180,
1253        "content": "💡Notes\n\nUpdate all Social Media Platform Credentials as required.\n\nAdjust parameters and content for each platform to suit your needs."
1254      },
1255      "typeVersion": 1
1256    },
1257    {
1258      "id": "b21f527c-5674-49d0-a114-866d669e7ad6",
1259      "name": "Rename Binary File",
1260      "type": "n8n-nodes-base.code",
1261      "position": [
1262        -620,
1263        120
1264      ],
1265      "parameters": {
1266        "jsCode": "$input.first().binary.data = $input.first().binary.Upload_Image__optional_\ndelete $input.first().binary.Upload_Image__optional_\nreturn $input.first()"
1267      },
1268      "typeVersion": 2,
1269      "alwaysOutputData": true
1270    }
1271  ],
1272  "active": false,
1273  "pinData": {
1274    "Submit Social Post Details": [
1275      {
1276        "json": {
1277          "Topic": "Why n8n is the Best Workflow Automation Tool",
1278          "formMode": "test",
1279          "submittedAt": "2025-03-02T13:32:20.807-05:00",
1280          "Link (optional)": "https://n8n.io/",
1281          "Keywords or Hashtags (optional)": "n8n, AIWorkflows, badalkhatri.com"
1282        }
1283      }
1284    ]
1285  },
1286  "settings": {
1287    "executionOrder": "v1"
1288  },
1289  "versionId": "d44bf3b1-5ba6-48e2-8ab6-1cbe93a260e4",
1290  "connections": {
1291    "Merge": {
1292      "main": [
1293        [
1294          {
1295            "node": "Set Default True 2",
1296            "type": "main",
1297            "index": 0
1298          }
1299        ]
1300      ]
1301    },
1302    "Merge1": {
1303      "main": [
1304        [
1305          {
1306            "node": "Instagram Image",
1307            "type": "main",
1308            "index": 0
1309          }
1310        ]
1311      ]
1312    },
1313    "Merge2": {
1314      "main": [
1315        [
1316          {
1317            "node": "Facebook Post",
1318            "type": "main",
1319            "index": 0
1320          },
1321          {
1322            "node": "LinkedIn Post",
1323            "type": "main",
1324            "index": 0
1325          }
1326        ]
1327      ]
1328    },
1329    "OpenAI": {
1330      "main": [
1331        [
1332          {
1333            "node": "Save Image to imgbb.com3",
1334            "type": "main",
1335            "index": 0
1336          },
1337          {
1338            "node": "Merge",
1339            "type": "main",
1340            "index": 1
1341          },
1342          {
1343            "node": "Merge2",
1344            "type": "main",
1345            "index": 1
1346          }
1347        ]
1348      ]
1349    },
1350    "X Post": {
1351      "main": [
1352        [
1353          {
1354            "node": "X Result",
1355            "type": "main",
1356            "index": 0
1357          }
1358        ],
1359        []
1360      ]
1361    },
1362    "SerpAPI": {
1363      "ai_tool": [
1364        [
1365          {
1366            "node": "Social Media Content Factory",
1367            "type": "ai_tool",
1368            "index": 0
1369          }
1370        ]
1371      ]
1372    },
1373    "X Result": {
1374      "main": [
1375        [
1376          {
1377            "node": "Merge Results",
1378            "type": "main",
1379            "index": 1
1380          }
1381        ]
1382      ]
1383    },
1384    "Aggregate": {
1385      "main": [
1386        [
1387          {
1388            "node": "Prepare Results Email",
1389            "type": "main",
1390            "index": 0
1391          },
1392          {
1393            "node": "Prepare Results Message",
1394            "type": "main",
1395            "index": 0
1396          }
1397        ]
1398      ]
1399    },
1400    "gpt-4o LLM": {
1401      "ai_languageModel": [
1402        [
1403          {
1404            "node": "Social Media Content Factory",
1405            "type": "ai_languageModel",
1406            "index": 0
1407          }
1408        ]
1409      ]
1410    },
1411    "gpt-4o-mini": {
1412      "ai_languageModel": [
1413        [
1414          {
1415            "node": "Prepare Content Review Email",
1416            "type": "ai_languageModel",
1417            "index": 0
1418          }
1419        ]
1420      ]
1421    },
1422    "Image Choice": {
1423      "main": [
1424        [
1425          {
1426            "node": "Rename Binary File",
1427            "type": "main",
1428            "index": 0
1429          }
1430        ]
1431      ]
1432    },
1433    "Is Approved?": {
1434      "main": [
1435        [
1436          {
1437            "node": "X Post",
1438            "type": "main",
1439            "index": 0
1440          },
1441          {
1442            "node": "Merge1",
1443            "type": "main",
1444            "index": 1
1445          },
1446          {
1447            "node": "Merge2",
1448            "type": "main",
1449            "index": 0
1450          }
1451        ],
1452        []
1453      ]
1454    },
1455    "gpt-4o-mini1": {
1456      "ai_languageModel": [
1457        [
1458          {
1459            "node": "Prepare Results Email",
1460            "type": "ai_languageModel",
1461            "index": 0
1462          }
1463        ]
1464      ]
1465    },
1466    "gpt-4o-mini2": {
1467      "ai_languageModel": [
1468        [
1469          {
1470            "node": "Prepare Results Message",
1471            "type": "ai_languageModel",
1472            "index": 0
1473          }
1474        ]
1475      ]
1476    },
1477    "Facebook Post": {
1478      "main": [
1479        [
1480          {
1481            "node": "Facebook Result",
1482            "type": "main",
1483            "index": 0
1484          }
1485        ],
1486        []
1487      ]
1488    },
1489    "LinkedIn Post": {
1490      "main": [
1491        [
1492          {
1493            "node": "LinkedIn Result",
1494            "type": "main",
1495            "index": 0
1496          }
1497        ],
1498        []
1499      ]
1500    },
1501    "Merge Results": {
1502      "main": [
1503        [
1504          {
1505            "node": "Aggregate",
1506            "type": "main",
1507            "index": 0
1508          }
1509        ]
1510      ]
1511    },
1512    "Facebook Result": {
1513      "main": [
1514        [
1515          {
1516            "node": "Merge Results",
1517            "type": "main",
1518            "index": 2
1519          }
1520        ]
1521      ]
1522    },
1523    "Instagram Image": {
1524      "main": [
1525        [
1526          {
1527            "node": "Instragram Post",
1528            "type": "main",
1529            "index": 0
1530          }
1531        ]
1532      ]
1533    },
1534    "Instragram Post": {
1535      "main": [
1536        [
1537          {
1538            "node": "Instagram Result",
1539            "type": "main",
1540            "index": 0
1541          }
1542        ],
1543        []
1544      ]
1545    },
1546    "LinkedIn Result": {
1547      "main": [
1548        [
1549          {
1550            "node": "Merge Results",
1551            "type": "main",
1552            "index": 3
1553          }
1554        ]
1555      ]
1556    },
1557    "pollinations.ai": {
1558      "main": [
1559        []
1560      ]
1561    },
1562    "Instagram Result": {
1563      "main": [
1564        [
1565          {
1566            "node": "Merge Results",
1567            "type": "main",
1568            "index": 0
1569          }
1570        ]
1571      ]
1572    },
1573    "Google Gemini LLM": {
1574      "ai_languageModel": [
1575        []
1576      ]
1577    },
1578    "Set Default True 2": {
1579      "main": [
1580        [
1581          {
1582            "node": "Is Approved?",
1583            "type": "main",
1584            "index": 0
1585          }
1586        ]
1587      ]
1588    },
1589    "Is Content Approved?": {
1590      "main": [
1591        [
1592          {
1593            "node": "OpenAI",
1594            "type": "main",
1595            "index": 0
1596          }
1597        ]
1598      ]
1599    },
1600    "Social Media Content": {
1601      "ai_outputParser": [
1602        [
1603          {
1604            "node": "Social Media Content Factory",
1605            "type": "ai_outputParser",
1606            "index": 0
1607          }
1608        ]
1609      ]
1610    },
1611    "Prepare Results Email": {
1612      "main": [
1613        [
1614          {
1615            "node": "Gmail Results",
1616            "type": "main",
1617            "index": 0
1618          }
1619        ]
1620      ]
1621    },
1622    "Gmail User for Approval": {
1623      "main": [
1624        [
1625          {
1626            "node": "Is Content Approved?",
1627            "type": "main",
1628            "index": 0
1629          }
1630        ]
1631      ]
1632    },
1633    "Prepare Results Message": {
1634      "main": [
1635        [
1636          {
1637            "node": "Telegram Results",
1638            "type": "main",
1639            "index": 0
1640          }
1641        ]
1642      ]
1643    },
1644    "Save Image to imgbb.com3": {
1645      "main": [
1646        [
1647          {
1648            "node": "Merge",
1649            "type": "main",
1650            "index": 0
1651          },
1652          {
1653            "node": "Merge1",
1654            "type": "main",
1655            "index": 0
1656          }
1657        ]
1658      ]
1659    },
1660    "Approve Final Post Content": {
1661      "main": [
1662        []
1663      ]
1664    },
1665    "Submit Social Post Details": {
1666      "main": [
1667        [
1668          {
1669            "node": "Social Media Content Factory",
1670            "type": "main",
1671            "index": 0
1672          }
1673        ]
1674      ]
1675    },
1676    "Prepare Content Review Email": {
1677      "main": [
1678        [
1679          {
1680            "node": "Gmail User for Approval",
1681            "type": "main",
1682            "index": 0
1683          }
1684        ]
1685      ]
1686    },
1687    "Social Media Content Factory": {
1688      "main": [
1689        [
1690          {
1691            "node": "Prepare Content Review Email",
1692            "type": "main",
1693            "index": 0
1694          }
1695        ]
1696      ]
1697    }
1698  }
1699}

Written by

BK

Badal Khatri

AI Engineer & Architect

[ Contact ]

Let's Start A Project Together

Email Me

badal.khatri0924@gmail.com

Location

Ahmedabad, India / Remote

Send a Message