Hi everyone, I’ve built a workflow for daily book promotion and engagement automation, but it is not running in active mode. I’m still trying to understand all the nodes and connections.
Can someone please check my workflow and tell me what I’m missing? I also need hands-on help or a short Zoom session so I can understand how to create, test, and activate workflows properly.
Screenshot of my workflow is attached below. Thanks a lot!
You didn’t attach your workflow (select all nodes in workflow and copy and paste it here)
we can not login into your workspace and examine your flow.
I will’be happy to help you if you can share your workflow json file with me.
Hi @ramin1 , thank you for offering help. I appreciate it.
I am sharing my workflow below as requested. Please let me know if anything else is needed.
I’m still learning n8n, so your guidance means a lot.
Hi @ramin1 , thank you for offering help. I appreciate it.
I am sharing my workflow below as requested. Please let me know if anything else is needed.
I’m still learning n8n, so your guidance means a lot.
{
“nodes”: [
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “id-1”,
“name”: “bookImageUrl”,
“value”: “<PLACEHOLDER_VALUE__Book image URL (e.g., https://mybooksite.com/hook.jpg)>”,
“type”: “string”
},
{
“id”: “id-2”,
“name”: “bookTitle”,
“value”: “From Failure to Freedom”,
“type”: “string”
},
{
“id”: “id-3”,
“name”: “bookTheme”,
“value”: “Overcoming failure and achieving personal freedom”,
“type”: “string”
}
]
},
“includeOtherFields”: true,
“options”: {}
},
“id”: “260e2c57-e1c1-46b9-9e70-42532fafb315”,
“name”: “Workflow Configuration”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
-576,
192
]
},
{
“parameters”: {
“options”: {}
},
“id”: “0e2aa6ce-0111-43f1-9da1-95943631b8a9”,
“name”: “Gemini Model - Content Generation”,
“type”: “@n8n/n8n-nodes-langchain.lmChatGoogleGemini”,
“typeVersion”: 1,
“position”: [
-224,
416
],
“credentials”: {
“googlePalmApi”: {
“id”: “kOtBVMWjAsz83K4a”,
“name”: “Google Gemini(PaLM) Api account 2”
}
}
},
{
“parameters”: {
“promptType”: “define”,
“text”: “=You are an expert social media copywriter.\n\nBook Title: {{ $json.bookTitle }}\nTheme: {{ $json.bookTheme }}\n\nGenerate exactly 3 short, powerful, platform-specific promotional captions for this book.\n\nRules:\n- Caption 1 → Perfect for LinkedIn (professional, motivational tone)\n- Caption 2 → Perfect for Instagram (emotional, hook + emoji friendly)\n- Caption 3 → Perfect for Facebook (storytelling + question or call-to-action)\n\nOutput MUST be only a valid JSON array with exactly 3 strings.\nNo explanations, no markdown, no numbering, no extra text.\n\nExample of exact output format:\n[“LinkedIn caption here”, “Instagram caption here”, “Facebook caption here”]”,
“messages”: {
“messageValues”: [
{
“message”: “You are a social media content expert specializing in book promotion. Generate engaging, platform-optimized captions that drive engagement and book sales. Each caption should be unique, motivational, and tailored to the platform’s audience.”
}
]
},
“batching”: {}
},
“id”: “3cb00f0e-5db6-42a1-abcd-14842b1f2c9f”,
“name”: “Generate Platform-Specific Content”,
“type”: “@n8n/n8n-nodes-langchain.chainLlm”,
“typeVersion”: 1.7,
“position”: [
-352,
192
]
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “id-1”,
“name”: “caption”,
“value”: “={{ $json.output.linkedinCaption }}”,
“type”: “string”
},
{
“id”: “id-2”,
“name”: “platform”,
“value”: “={{$json.linkedin}}”,
“type”: “string”
},
{
“id”: “id-3”,
“name”: “postTime”,
“value”: “10:00 AM IST”,
“type”: “string”
}
]
},
“includeOtherFields”: true,
“options”: {}
},
“id”: “c55d49b1-21d9-412d-a7a6-6a0a6f3bfc5b”,
“name”: “Prepare LinkedIn Post Data”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
0,
0
]
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “id-1”,
“name”: “caption”,
“value”: “={{ $json.output.instagramCaption }}”,
“type”: “string”
},
{
“id”: “id-2”,
“name”: “platform”,
“value”: “Instagram”,
“type”: “string”
},
{
“id”: “id-3”,
“name”: “postTime”,
“value”: “1:00 PM IST”,
“type”: “string”
}
]
},
“includeOtherFields”: true,
“options”: {}
},
“id”: “2e23c3ea-5f81-468d-a386-288526908206”,
“name”: “Prepare Instagram Post Data”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
0,
192
]
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “id-1”,
“name”: “caption”,
“value”: “={{ $json.output.facebookCaption }}”,
“type”: “string”
},
{
“id”: “id-2”,
“name”: “platform”,
“value”: “Facebook”,
“type”: “string”
},
{
“id”: “id-3”,
“name”: “postTime”,
“value”: “9:00 AM IST”,
“type”: “string”
}
]
},
“includeOtherFields”: true,
“options”: {}
},
“id”: “d2a2e149-1bcc-4085-8990-0949036f17e6”,
“name”: “Prepare Facebook Post Data”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
0,
384
]
},
{
“parameters”: {
“postAs”: “={{linkedin Account}}\n”,
“text”: “={{ $json.caption }}”,
“additionalFields”: {}
},
“id”: “0964f625-6ea8-4413-978c-425bd5cb96e4”,
“name”: “Post to LinkedIn (10 AM IST)”,
“type”: “n8n-nodes-base.linkedIn”,
“typeVersion”: 1,
“position”: [
224,
0
],
“credentials”: {
“linkedInOAuth2Api”: {
“id”: “qJ3S6FVbxkTiUaPL”,
“name”: “LinkedIn account”
}
}
},
{
“parameters”: {
“httpRequestMethod”: “POST”,
“graphApiVersion”: “v19.0”,
“node”: “me”,
“edge”: “photos”,
“options”: {
“queryParameters”: {
“parameter”: [
{
“name”: “caption”,
“value”: “={{ $json.caption }}”
},
{
“name”: “url”,
“value”: “={{ $(‘Workflow Configuration’).first().json.bookImageUrl }}”
}
]
}
}
},
“id”: “1d3ca300-4566-40d9-815c-25e7d07d2880”,
“name”: “Post to Instagram (1 PM IST)”,
“type”: “n8n-nodes-base.facebookGraphApi”,
“typeVersion”: 1,
“position”: [
224,
192
],
“credentials”: {
“facebookGraphApi”: {
“id”: “6T9Je4J6O1YUfDRG”,
“name”: “Facebook Graph account 2”
}
}
},
{
“parameters”: {
“hostUrl”: “=graph.facebook.com”,
“httpRequestMethod”: “POST”,
“graphApiVersion”: “v19.0”,
“node”: “me”,
“edge”: “photos”,
“options”: {
“queryParameters”: {
“parameter”: [
{
“name”: “message”,
“value”: “={{ $json.caption }}”
},
{
“name”: “url”,
“value”: “={{ $(‘Workflow Configuration’).first().json.bookImageUrl }}”
}
]
}
}
},
“id”: “ab149236-5687-485e-affb-d1b869fed71c”,
“name”: “Post to Facebook (9 AM IST)”,
“type”: “n8n-nodes-base.facebookGraphApi”,
“typeVersion”: 1,
“position”: [
224,
384
],
“credentials”: {
“facebookGraphApi”: {
“id”: “6T9Je4J6O1YUfDRG”,
“name”: “Facebook Graph account 2”
}
}
},
{
“parameters”: {
“appId”: “<PLACEHOLDER_VALUE__Facebook APP ID>”,
“object”: “page”,
“fields”: [
“feed”
],
“options”: {}
},
“id”: “08f07482-1863-4085-a9b2-ea2617d163e9”,
“name”: “Monitor Facebook Comments”,
“type”: “n8n-nodes-base.facebookTrigger”,
“typeVersion”: 1,
“position”: [
-800,
672
],
“webhookId”: “75755151-b8d1-4801-9b7d-44f662fb3d84”
},
{
“parameters”: {
“appId”: “<PLACEHOLDER_VALUE__Facebook APP ID>”,
“object”: “page”,
“fields”: [
“feed”
],
“options”: {}
},
“id”: “47148662-a6f5-40fa-8d35-a5617904d7a7”,
“name”: “Monitor Instagram Comments”,
“type”: “n8n-nodes-base.facebookTrigger”,
“typeVersion”: 1,
“position”: [
-800,
864
],
“webhookId”: “2eeccb23-1489-42e0-b1ba-1e634a5bd45f”
},
{
“parameters”: {
“appId”: “<PLACEHOLDER_VALUE__Facebook APP ID>”,
“object”: “page”,
“fields”: [
“feed”
],
“options”: {}
},
“id”: “86bafc16-1342-4a78-b7e9-c17bb13314bb”,
“name”: “Monitor LinkedIn Comments”,
“type”: “n8n-nodes-base.facebookTrigger”,
“typeVersion”: 1,
“position”: [
-800,
1056
],
“webhookId”: “69187ba3-f129-41fd-87bf-065ddb50da90”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: false,
“leftValue”: “”,
“typeValidation”: “loose”
},
“conditions”: [
{
“id”: “id-1”,
“leftValue”: “={{ $json.message }}”,
“rightValue”: “where to buy”,
“operator”: {
“type”: “string”,
“operation”: “contains”
}
},
{
“id”: “id-2”,
“leftValue”: “={{ $json.message }}”,
“rightValue”: “price”,
“operator”: {
“type”: “string”,
“operation”: “contains”
}
},
{
“id”: “id-3”,
“leftValue”: “={{ $json.message }}”,
“rightValue”: “how to get”,
“operator”: {
“type”: “string”,
“operation”: “contains”
}
},
{
“id”: “id-4”,
“leftValue”: “={{ $json.message }}”,
“rightValue”: “purchase”,
“operator”: {
“type”: “string”,
“operation”: “contains”
}
},
{
“id”: “id-5”,
“leftValue”: “={{ $json.message }}”,
“rightValue”: “buy”,
“operator”: {
“type”: “string”,
“operation”: “contains”
}
},
{
“id”: “id-6”,
“leftValue”: “={{ $json.message }}”,
“rightValue”: “order”,
“operator”: {
“type”: “string”,
“operation”: “contains”
}
},
{
“id”: “id-7”,
“leftValue”: “={{ $json.message }}”,
“rightValue”: “available”,
“operator”: {
“type”: “string”,
“operation”: “contains”
}
}
],
“combinator”: “or”
},
“looseTypeValidation”: true,
“options”: {}
},
“id”: “c9232097-b656-46f1-8c36-9e374f24431b”,
“name”: “Check Comment Intent”,
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-576,
864
]
},
{
“parameters”: {
“options”: {}
},
“id”: “98e88c08-aed2-4f47-82cf-2950c37c20ed”,
“name”: “Gemini Model - Reply Generation”,
“type”: “@n8n/n8n-nodes-langchain.lmChatGoogleGemini”,
“typeVersion”: 1,
“position”: [
-288,
832
],
“credentials”: {
“googlePalmApi”: {
“id”: “kOtBVMWjAsz83K4a”,
“name”: “Google Gemini(PaLM) Api account 2”
}
}
},
{
“parameters”: {
“promptType”: “define”,
“text”: “=Generate a personalized reply to this comment: “{{ $json.message }}”\n\nThe comment shows buying intent. Include the phrase: “Thank you! You can find the purchase link in my bio/profile right now.”\n\nMake it warm, personal, and encouraging.”,
“batching”: {}
},
“id”: “7661d8f1-d71c-4648-96ac-996677c413ec”,
“name”: “Generate Buying Intent Reply”,
“type”: “@n8n/n8n-nodes-langchain.chainLlm”,
“typeVersion”: 1.7,
“position”: [
-352,
608
]
},
{
“parameters”: {
“promptType”: “define”,
“text”: “=Generate a brief, warm thank you reply to this comment: “{{ $json.message }}”\n\nKeep it short, genuine, and include a relevant emoji. Show appreciation for their support.”,
“batching”: {}
},
“id”: “d7c91b67-25b1-4fee-a072-586731818555”,
“name”: “Generate Thank You Reply”,
“type”: “@n8n/n8n-nodes-langchain.chainLlm”,
“typeVersion”: 1.7,
“position”: [
-352,
1008
]
},
{
“parameters”: {
“httpRequestMethod”: “POST”,
“node”: “={{ $json.comment_id }}”,
“edge”: “comments”,
“options”: {
“queryParameters”: {
“parameter”: [
{
“name”: “message”,
“value”: “={{ $json.output }}”
}
]
}
}
},
“id”: “9c13769a-68cc-4adc-9ea6-90ec4f0d7d1a”,
“name”: “Post Reply to Comment”,
“type”: “n8n-nodes-base.facebookGraphApi”,
“typeVersion”: 1,
“position”: [
0,
864
],
“credentials”: {
“facebookGraphApi”: {
“id”: “tNM8sPZqy4hSv4Kh”,
“name”: “Facebook Graph account”
}
}
},
{
“parameters”: {
“rule”: {
“interval”: [
{
“field”: “hours”,
“hoursInterval”: “={{ 7,9,11,14,19 }}”,
“triggerAtMinute”: “={{ 0, 30 }}”
}
]
}
},
“type”: “n8n-nodes-base.scheduleTrigger”,
“typeVersion”: 1.3,
“position”: [
-752,
192
],
“id”: “f755979e-7f9a-43d8-b496-866751d3d7c4”,
“name”: “Schedule Trigger”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “a1b3d53b-183c-4da4-bf56-a4196f684331”,
“leftValue”: “=value1: {{ $now.get(‘weekday’) }} / is equal to / value2: 1”,
“rightValue”: “=value1: {{ $now.get(‘hour’) }} / is equal to / value2: 9”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-624,
368
],
“id”: “7b37ff65-76ef-4bbb-a24e-24b737e513ca”,
“name”: “If”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “0c144270-4ff8-42cd-a7fa-7393683672dc”,
“leftValue”: “”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-592,
528
],
“id”: “a3420f88-b476-4730-b21a-dadc88d8d74b”,
“name”: “If1”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “7f435aff-4944-4413-93af-89d46d01a162”,
“leftValue”: “={{ $now.get(‘weekday’) }}”,
“rightValue”: "1 ",
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
},
{
“id”: “82fc861d-3bf4-49bb-bae4-792d5af8a5dd”,
“leftValue”: “={{ $now.get(‘hour’) }}”,
“rightValue”: “14”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
},
{
“id”: “753b6911-b261-449a-8a82-8dbb2e367ef8”,
“leftValue”: “={{ $now.get(‘minute’) }}”,
“rightValue”: “30”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-352,
336
],
“id”: “13ccab9a-b8a3-404a-8455-00062529b891”,
“name”: “If2”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “51170352-5c81-49f0-bcc3-68429c108620”,
“leftValue”: “={{ $now.get(‘weekday’) }}”,
“rightValue”: “2”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
},
{
“id”: “40063943-da20-47dd-bfab-6305b62c11ed”,
“leftValue”: “={{ $now.get(‘hour’) }}”,
“rightValue”: “19”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
},
{
“id”: “253f22b8-fcd5-4dcd-a9bb-b055973e0f8f”,
“leftValue”: “={{ $now.get(‘minute’) }}”,
“rightValue”: “30”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
112,
560
],
“id”: “33cc8318-e765-4c6f-a8fa-b65958befa64”,
“name”: “If3”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “649dbcb1-b1ae-417c-a1b4-003c868124bf”,
“leftValue”: “={{ $now.get(‘weekday’) }}”,
“rightValue”: “4”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
},
{
“id”: “e9ce7a32-1d51-4c77-9132-ce25b635b3e6”,
“leftValue”: “={{ $now.get(‘hour’) }}”,
“rightValue”: “20”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
},
{
“id”: “582a647d-9bac-40ec-98b7-82f02ea5580a”,
“leftValue”: “={{ $now.get(‘minute’) }}”,
“rightValue”: “0”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
320,
528
],
“id”: “2df34c23-f0f0-433c-8b27-e1800126e176”,
“name”: “If4”
}
],
“connections”: {
“Workflow Configuration”: {
“main”: [
[
{
“node”: “Generate Platform-Specific Content”,
“type”: “main”,
“index”: 0
}
]
]
},
“Gemini Model - Content Generation”: {
“ai_languageModel”: [
[
{
“node”: “Generate Platform-Specific Content”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Generate Platform-Specific Content”: {
“main”: [
[
{
“node”: “Prepare LinkedIn Post Data”,
“type”: “main”,
“index”: 0
},
{
“node”: “Prepare Instagram Post Data”,
“type”: “main”,
“index”: 0
},
{
“node”: “Prepare Facebook Post Data”,
“type”: “main”,
“index”: 0
}
]
]
},
“Prepare LinkedIn Post Data”: {
“main”: [
[
{
“node”: “Post to LinkedIn (10 AM IST)”,
“type”: “main”,
“index”: 0
}
]
]
},
“Prepare Instagram Post Data”: {
“main”: [
[
{
“node”: “Post to Instagram (1 PM IST)”,
“type”: “main”,
“index”: 0
}
]
]
},
“Prepare Facebook Post Data”: {
“main”: [
[
{
“node”: “Post to Facebook (9 AM IST)”,
“type”: “main”,
“index”: 0
}
]
]
},
“Monitor Facebook Comments”: {
“main”: [
[
{
“node”: “Check Comment Intent”,
“type”: “main”,
“index”: 0
}
]
]
},
“Monitor Instagram Comments”: {
“main”: [
[
{
“node”: “Check Comment Intent”,
“type”: “main”,
“index”: 0
}
]
]
},
“Monitor LinkedIn Comments”: {
“main”: [
[
{
“node”: “Check Comment Intent”,
“type”: “main”,
“index”: 0
}
]
]
},
“Check Comment Intent”: {
“main”: [
[
{
“node”: “Generate Buying Intent Reply”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “Generate Thank You Reply”,
“type”: “main”,
“index”: 0
}
]
]
},
“Gemini Model - Reply Generation”: {
“ai_languageModel”: [
[
{
“node”: “Generate Buying Intent Reply”,
“type”: “ai_languageModel”,
“index”: 0
},
{
“node”: “Generate Thank You Reply”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Generate Buying Intent Reply”: {
“main”: [
[
{
“node”: “Post Reply to Comment”,
“type”: “main”,
“index”: 0
}
]
]
},
“Generate Thank You Reply”: {
“main”: [
[
{
“node”: “Post Reply to Comment”,
“type”: “main”,
“index”: 0
}
]
]
},
“Schedule Trigger”: {
“main”: [
[
{
“node”: “If”,
“type”: “main”,
“index”: 0
}
]
]
},
“If”: {
“main”: [
[
{
“node”: “If2”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “If1”,
“type”: “main”,
“index”: 0
}
]
]
},
“If2”: {
“main”: [
,
[
{
“node”: “If3”,
“type”: “main”,
“index”: 0
}
]
]
},
“If3”: {
“main”: [
,
[
{
“node”: “If4”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {
“Post to Instagram (1 PM IST)”: [
{
“name”: “First item”,
“code”: 1
},
{
“name”: “Second item”,
“code”: 2
}
]
},
“meta”: {
“instanceId”: “a0a475e1798ef9c4117647c4bbec6996c41c9f322eca5b3d14213c99bc14e211”
}
}
You did not post your workflow properly
Tip: Insert your workflow by clicking ‘</>’ and pasting in the workflow’s code
Hey! Can’t access your workflow link directly, but here’s what usually stops workflows from running: make sure you have a proper trigger node (Schedule, Webhook, etc.) at the start, check that all nodes are connected correctly, and hit “Activate” in the top right. For hands-on help, the N8n community forum is great for detailed workflow reviews—post your JSON export there. You can also check N8n’s YouTube channel for beginner tutorials on building and testing workflows.