{
  "id": "T3Bs7q8fgMCEHvER",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Auto Create & Post Instagram Visuals",
  "tags": [],
  "nodes": [
    {
      "id": "5a7ef0ff-dd1b-4aac-a3b6-ea1c151f9dd8",
      "name": "Content Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -704,
        -192
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 6
            },
            {
              "triggerAtHour": 11
            },
            {
              "triggerAtHour": 20
            }
          ]
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "75e85f9d-bfde-454b-988b-2084a07bcac7",
      "name": "Fetch Content Ideas &  Visual",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -480,
        -192
      ],
      "parameters": {
        "options": {
          "returnFirstMatch": true
        },
        "filtersUI": {
          "values": [
            {
              "lookupValue": "Pending",
              "lookupColumn": "Status"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 996228945,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4/edit#gid=996228945",
          "cachedResultName": "Personal development"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4/edit?usp=drivesdk",
          "cachedResultName": "Personal_Content_Ideas"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "5dbd9485-e9b8-4e88-b8b1-5f5974528523",
      "name": "Route by Viral Content Format",
      "type": "n8n-nodes-base.switch",
      "position": [
        -272,
        -224
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "Whiteboard infographic",
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "ddfa5f9f-f5de-4c3e-8414-1d409b8d8f41",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.Visual }}",
                    "rightValue": "Whiteboard infographic"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Tutorial Carousel",
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "57cd76df-56fd-4c4b-b73e-9b98fdb41d27",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.Visual }}",
                    "rightValue": "Tutorial Carousel"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Single Centered Text",
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "953afefe-4354-499e-8745-90c44290c31b",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.Visual }}",
                    "rightValue": "Single Centered Text"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Image Slide Show",
              "conditions": {
                "options": {
                  "version": 3,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "92c46903-5c44-4700-9b6a-190117cb3615",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.Visual }}",
                    "rightValue": "Image Slide Show"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.4
    },
    {
      "id": "63b71e2d-2a26-4cc8-b406-d3d3e3d6977b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -768,
        -448
      ],
      "parameters": {
        "color": 6,
        "width": 688,
        "height": 576,
        "content": "## Idea Intake & Scheduling\nAutomatically pull content ideas and decide which viral format to generate."
      },
      "typeVersion": 1
    },
    {
      "id": "88f67beb-e096-40a6-8c05-877d976835da",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -752
      ],
      "parameters": {
        "color": 7,
        "width": 688,
        "height": 1232,
        "content": "## Visual Creation (By Viral Format)\nGenerate different viral-ready visuals based on the selected content format."
      },
      "typeVersion": 1
    },
    {
      "id": "a39c1622-c2d8-4893-a0c8-a3ac0a61dfc2",
      "name": "Generate Whiteboard Infographic",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        208,
        -624
      ],
      "parameters": {
        "prompt": "={{ $json.Ideas }}",
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "013904bf-6b3b-43f4-bb1f-f1964a38c29b",
          "cachedResultName": "Generate an infographic displayed across a massive 32x32 grid of TV screens, creating a stunning video wall installation effect."
        },
        "templateInputs": {
          "value": {
            "footerText": "Follow us to learn more great tips!"
          },
          "schema": [
            {
              "id": "description",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Infographic Description",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "footerText",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Footer CTA Text",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "24b31371-5dfd-474a-aebd-1f97f7c10a8f",
      "name": "Generate Tutorial Carousel",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        208,
        -336
      ],
      "parameters": {
        "prompt": "={{ $('Fetch Content Ideas &  Visual').item.json.Ideas }}",
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "/base/v2/tutorial-carousel/e095104b-e6c5-4a81-a89d-b0df3d7c5baf/v1",
          "cachedResultName": "Tutorial Carousel with Monocolor Background"
        },
        "templateInputs": {
          "value": {
            "hashtag": "#phattrienbanthan",
            "authorName": "GiangxAI",
            "ctaButtons": "[\"Flollow\", \"Share\"]",
            "aspectRatio": "1:1",
            "companyName": "giangxAI",
            "ctaGreeting": "Need more guidance?",
            "profileImage": "https://i.ibb.co/kgXBZ8YJ/98ec9d84960922577b18.jpg",
            "ctaDescription": "Follow us for more guidance on personal development and increased productivity."
          },
          "schema": [
            {
              "id": "profileImage",
              "type": "string",
              "display": true,
              "required": true,
              "displayName": "Profile Image * (publicly accessible URL)",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "font",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Font-sans",
                  "value": "font-sans"
                },
                {
                  "name": "Font-serif",
                  "value": "font-serif"
                },
                {
                  "name": "Font-mono",
                  "value": "font-mono"
                },
                {
                  "name": "Font-retro",
                  "value": "font-retro"
                },
                {
                  "name": "Font-montserrat",
                  "value": "font-montserrat"
                },
                {
                  "name": "Font-quicksand",
                  "value": "font-quicksand"
                },
                {
                  "name": "Font-philosopher",
                  "value": "font-philosopher"
                },
                {
                  "name": "Font-poppins",
                  "value": "font-poppins"
                },
                {
                  "name": "Font-raleway",
                  "value": "font-raleway"
                },
                {
                  "name": "Font-opensans",
                  "value": "font-opensans"
                },
                {
                  "name": "Font-lato",
                  "value": "font-lato"
                },
                {
                  "name": "Font-oswald",
                  "value": "font-oswald"
                },
                {
                  "name": "Font-playfair",
                  "value": "font-playfair"
                },
                {
                  "name": "Font-roboto",
                  "value": "font-roboto"
                },
                {
                  "name": "Font-ptsans",
                  "value": "font-ptsans"
                },
                {
                  "name": "Font-dmsans",
                  "value": "font-dmsans"
                },
                {
                  "name": "Font-nunito",
                  "value": "font-nunito"
                },
                {
                  "name": "Font-comfortaa",
                  "value": "font-comfortaa"
                },
                {
                  "name": "Font-worksans",
                  "value": "font-worksans"
                },
                {
                  "name": "Font-fjallaone",
                  "value": "font-fjallaone"
                },
                {
                  "name": "Font-rubik",
                  "value": "font-rubik"
                },
                {
                  "name": "Font-barlow",
                  "value": "font-barlow"
                },
                {
                  "name": "Font-bebasnue",
                  "value": "font-bebasnue"
                },
                {
                  "name": "Font-caveat",
                  "value": "font-caveat"
                },
                {
                  "name": "Font-pacifico",
                  "value": "font-pacifico"
                }
              ],
              "required": false,
              "displayName": "Font",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "hashtag",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Hashtag",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "title",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Main Title",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "introBackgroundColor",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Intro Background Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "contentSlides",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Content Slides (e.g. [{\"key\": \"value\"}])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "contentBackgroundColor",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Content Background Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "accentColor",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Accent Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "authorName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Author Name",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "companyName",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Company Name",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "ctaGreeting",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "CTA Greeting",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "ctaDescription",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "CTA Description",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "ctaButtons",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "CTA Buttons (e.g. [\"item 1\", \"item 2\"])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "ctaBackgroundColor",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "CTA Background Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "aspectRatio",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "4:5",
                  "value": "4:5"
                },
                {
                  "name": "1:1",
                  "value": "1:1"
                },
                {
                  "name": "9:16",
                  "value": "9:16"
                }
              ],
              "required": false,
              "displayName": "Aspect Ratio",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "4332af09-4c4a-42f5-a433-0dbd9a7e3248",
      "name": "Generate Single Text Visual",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        208,
        -96
      ],
      "parameters": {
        "prompt": "={{ $('Fetch Content Ideas &  Visual').item.json.Ideas }}",
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "9f4e66cd-b784-4c02-b2ce-e6d0765fd4c0",
          "cachedResultName": "A simple slideshow with a single centered text quote on a solid background."
        },
        "templateInputs": {
          "value": {},
          "schema": [
            {
              "id": "quotes",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Quotes (e.g. [\"item 1\", \"item 2\"])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "autoMapInputData",
          "matchingColumns": [
            "quotes"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "514aceab-d597-4618-bab7-2a27cf6d7f4b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        -464
      ],
      "parameters": {
        "color": 6,
        "width": 576,
        "height": 576,
        "content": "## Rendering & Asset Check\nWait for tool Blotato rendering to complete and validate visual output"
      },
      "typeVersion": 1
    },
    {
      "id": "17fed88a-9dc2-4593-a056-4df96ff654c9",
      "name": "Wait for Visual Rendering",
      "type": "n8n-nodes-base.wait",
      "position": [
        656,
        -192
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3e92bf75-c829-48a5-ba8c-ebb10aed6010",
      "name": "Visual Ready?",
      "type": "n8n-nodes-base.if",
      "position": [
        1024,
        -192
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 3,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "ee6813d9-3f64-4e73-bb79-d187547749f9",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $input.all().length === 1 ? $json.item.status === 'done' : $input.all().every(item => item.json.item.status === 'done') }}",
              "rightValue": "done"
            }
          ]
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "d3ddb471-37e1-405e-b6d0-5c97ee8549f4",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        -464
      ],
      "parameters": {
        "color": 7,
        "width": 320,
        "height": 576,
        "content": "## Instagram Auto Publishing\nAutomatically publish the generated content to Instagram."
      },
      "typeVersion": 1
    },
    {
      "id": "315c0351-f257-43dd-99e8-b42673ea11fe",
      "name": "Instagram Auto Publishing",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "onError": "continueErrorOutput",
      "position": [
        1280,
        -192
      ],
      "parameters": {
        "options": {},
        "accountId": {
          "__rl": true,
          "mode": "list",
          "value": "25299",
          "cachedResultUrl": "https://backend.blotato.com/v2/accounts/25299",
          "cachedResultName": "giangxai.aff"
        },
        "postContentText": "={{ $('Fetch Content Ideas &  Visual').item.json.Ideas }}",
        "postContentMediaUrls": "={{ $('Fetch Generated Visual').item.json.item?.mediaUrl || $('Fetch Generated Visual').item.json.item?.imageUrls || '' }}"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "12d14d87-b44f-4824-a6e3-4599a599c885",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1504,
        -464
      ],
      "parameters": {
        "color": 6,
        "width": 448,
        "height": 576,
        "content": "## Status Tracking & Logging\nUpdate content status for tracking, retry, and analytics."
      },
      "typeVersion": 1
    },
    {
      "id": "ea355aa5-b14e-4f29-a052-faa73ae6344f",
      "name": "Mark Content as Published",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1696,
        -384
      ],
      "parameters": {
        "columns": {
          "value": {
            "Status": "Done",
            "row_number": "={{ $('Fetch Content Ideas &  Visual').item.json.row_number }}"
          },
          "schema": [
            {
              "id": "Visual",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Visual",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Ideal",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Ideal",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Status",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Status",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "row_number",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": true,
              "required": false,
              "displayName": "row_number",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "row_number"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 996228945,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4/edit#gid=996228945",
          "cachedResultName": "Personal development"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4/edit?usp=drivesdk",
          "cachedResultName": "Personal_Content_Ideas"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "193bd4dc-49ad-4c06-963c-a80774882e9b",
      "name": "Log Publishing Error",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1712,
        -64
      ],
      "parameters": {
        "columns": {
          "value": {
            "Status": "Error",
            "row_number": "={{ $('Fetch Content Ideas &  Visual').item.json.row_number }}"
          },
          "schema": [
            {
              "id": "Visual",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Visual",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Ideal",
              "type": "string",
              "display": true,
              "removed": true,
              "required": false,
              "displayName": "Ideal",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Status",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Status",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "row_number",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": true,
              "required": false,
              "displayName": "row_number",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "row_number"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 996228945,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4/edit#gid=996228945",
          "cachedResultName": "Personal development"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4/edit?usp=drivesdk",
          "cachedResultName": "Personal_Content_Ideas"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "3a6b889d-bb2e-4939-b92e-5dafba70b7e9",
      "name": "Fetch Generated Visual",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        848,
        -192
      ],
      "parameters": {
        "videoId": "={{ $json.item.id }}",
        "resource": "video",
        "operation": "get"
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "af04942f-2405-4fef-87f9-9a0b6f0c0d36",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1424,
        -704
      ],
      "parameters": {
        "width": 656,
        "height": 1152,
        "content": "# \ud83d\udee0\ufe0f Workflow Setup Guide\n\nAuthor: [GiangxAI](https://www.youtube.com/@giangxai.official)\n\n## How it works\n- Content ideas and visual formats are loaded automatically from Google Sheets on a schedule  \n- Each idea is routed by viral content format (carousel, slideshow, single text, whiteboard)  \n- Blotato generates Instagram-ready visuals based on the selected format  \n- The workflow waits for AI rendering to complete  \n- Generated visual assets are retrieved and validated  \n- Visuals are published to Instagram automatically  \n- Google Sheets is updated with publishing status or error logs  \n\nThe entire workflow runs end-to-end without manual design, editing, or posting once configured.\n\n---\n\n## Setup guide [n8n](https://n8n.partnerlinks.io/giangxai)\n- Connect [Google Sheets](https://docs.google.com/spreadsheets/d/1Z7BLM6-n18ljill0v2LnMBzWwQUQWp8ONuGBvJroAt4/edit?usp=sharing) to manage content ideas, formats, and status tracking  \n- Add  [Blotato](https://blotato.com/?ref=giang9s)   API credentials for automated visual creation  \n- Configure Instagram credentials for auto publishing  \n- Review visual format rules and routing logic  \n- Adjust schedule triggers and captions if needed  \n\nSetup is simple and requires no design skills or manual Instagram posting.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "9e5d6cfb-7980-460c-b9af-56583955d493",
      "name": "Generate an Image Slideshow",
      "type": "@blotato/n8n-nodes-blotato.blotato",
      "position": [
        208,
        208
      ],
      "parameters": {
        "prompt": "={{ $json.Ideas }}",
        "resource": "video",
        "templateId": {
          "__rl": true,
          "mode": "list",
          "value": "/base/v2/images-with-text/0ddb8655-c3da-43da-9f7d-be1915ca7818/v1",
          "cachedResultName": "Image Slideshow with Prominent Text"
        },
        "templateInputs": {
          "value": {
            "textStyle": "modern",
            "transition": "zoom",
            "aspectRatio": "1:1",
            "aiImageModel": "replicate/luma/photon",
            "textPosition": "center",
            "customTextPositionPercent": "30"
          },
          "schema": [
            {
              "id": "customTextPositionPercent",
              "type": "string",
              "display": true,
              "required": true,
              "displayName": "Custom Text Position (%) *",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "slides",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Slides (e.g. [{\"key\": \"value\"}])",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "aiImageModel",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Replicate/black-forest-labs/flux-schnell",
                  "value": "replicate/black-forest-labs/flux-schnell"
                },
                {
                  "name": "Replicate/black-forest-labs/flux-dev",
                  "value": "replicate/black-forest-labs/flux-dev"
                },
                {
                  "name": "Replicate/black-forest-labs/flux-1.1-pro",
                  "value": "replicate/black-forest-labs/flux-1.1-pro"
                },
                {
                  "name": "Replicate/black-forest-labs/flux-1.1-pro-ultra",
                  "value": "replicate/black-forest-labs/flux-1.1-pro-ultra"
                },
                {
                  "name": "Replicate/recraft-ai/recraft-v3",
                  "value": "replicate/recraft-ai/recraft-v3"
                },
                {
                  "name": "Replicate/ideogram-ai/ideogram-v2",
                  "value": "replicate/ideogram-ai/ideogram-v2"
                },
                {
                  "name": "Replicate/luma/photon",
                  "value": "replicate/luma/photon"
                },
                {
                  "name": "Openai/gpt-image-1",
                  "value": "openai/gpt-image-1"
                },
                {
                  "name": "Fal-ai/nano-banana",
                  "value": "fal-ai/nano-banana"
                },
                {
                  "name": "Fal-ai/nano-banana-pro",
                  "value": "fal-ai/nano-banana-pro"
                },
                {
                  "name": "Fal-ai/imagen4/preview/fast",
                  "value": "fal-ai/imagen4/preview/fast"
                }
              ],
              "required": false,
              "displayName": "AI Image Model",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "textPosition",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Top",
                  "value": "top"
                },
                {
                  "name": "Center",
                  "value": "center"
                },
                {
                  "name": "Bottom",
                  "value": "bottom"
                }
              ],
              "required": false,
              "displayName": "Text Position",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "textStyle",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "Minimal",
                  "value": "minimal"
                },
                {
                  "name": "Elegant",
                  "value": "elegant"
                },
                {
                  "name": "Modern",
                  "value": "modern"
                }
              ],
              "required": false,
              "displayName": "Text Style",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "textColor",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Text Color",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "aspectRatio",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "16:9",
                  "value": "16:9"
                },
                {
                  "name": "1:1",
                  "value": "1:1"
                },
                {
                  "name": "4:5",
                  "value": "4:5"
                },
                {
                  "name": "9:16",
                  "value": "9:16"
                }
              ],
              "required": false,
              "displayName": "Aspect Ratio",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "slideDuration",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Slide Duration (seconds)",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            },
            {
              "id": "transition",
              "type": "options",
              "display": true,
              "options": [
                {
                  "name": "None",
                  "value": "none"
                },
                {
                  "name": "Fade",
                  "value": "fade"
                },
                {
                  "name": "Slide",
                  "value": "slide"
                },
                {
                  "name": "Zoom",
                  "value": "zoom"
                }
              ],
              "required": false,
              "displayName": "Transition Effect",
              "defaultMatch": false,
              "canBeUsedToMatch": false
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "credentials": {
        "blotatoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8fd8fc26-077c-4b1e-ab9b-da868b3d4bbe",
  "connections": {
    "Visual Ready?": {
      "main": [
        [
          {
            "node": "Instagram Auto Publishing",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for Visual Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Generated Visual": {
      "main": [
        [
          {
            "node": "Visual Ready?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Schedule Trigger": {
      "main": [
        [
          {
            "node": "Fetch Content Ideas &  Visual",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Instagram Auto Publishing": {
      "main": [
        [
          {
            "node": "Mark Content as Published",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log Publishing Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Visual Rendering": {
      "main": [
        [
          {
            "node": "Fetch Generated Visual",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Tutorial Carousel": {
      "main": [
        [
          {
            "node": "Wait for Visual Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Single Text Visual": {
      "main": [
        [
          {
            "node": "Wait for Visual Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate an Image Slideshow": {
      "main": [
        [
          {
            "node": "Wait for Visual Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Content Ideas &  Visual": {
      "main": [
        [
          {
            "node": "Route by Viral Content Format",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Viral Content Format": {
      "main": [
        [
          {
            "node": "Generate Whiteboard Infographic",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Generate Tutorial Carousel",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Generate Single Text Visual",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Generate an Image Slideshow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Whiteboard Infographic": {
      "main": [
        [
          {
            "node": "Wait for Visual Rendering",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}