{
  "name": "Mallary - Publish one approved row to three platforms",
  "nodes": [
    {
      "parameters": {},
      "id": "0c97ceb6-62f4-5b42-a2b2-270ff3085851",
      "name": "Run manually",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        280
      ]
    },
    {
      "parameters": {
        "mode": "manual",
        "assignments": {
          "assignments": [
            {
              "id": "spreadsheet-id",
              "name": "spreadsheet_id",
              "value": "REPLACE_WITH_YOUR_SPREADSHEET_ID",
              "type": "string"
            },
            {
              "id": "sheet-name",
              "name": "sheet_name",
              "value": "Posts",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "d4d3b898-a4eb-593b-8f11-13c0f6f8d116",
      "name": "Sheet settings",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        240,
        280
      ]
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const config = $input.first().json;\nconst spreadsheetId = String(config.spreadsheet_id ?? '').trim();\nconst sheetName = String(config.sheet_name ?? '').trim();\nif (!/^[A-Za-z0-9_-]{20,}$/.test(spreadsheetId) || /REPLACE|YOUR_|PASTE_/i.test(spreadsheetId)) {\n  throw new Error('Open Sheet settings and paste your spreadsheet ID. Use the ID between /d/ and /edit in its URL.');\n}\nif (!sheetName || /[\\[\\]:*?\\/\\\\]/.test(sheetName)) {\n  throw new Error('Open Sheet settings and enter your sheet tab name, such as Posts.');\n}\nreturn [{ json: { spreadsheet_id: spreadsheetId, sheet_name: sheetName }, pairedItem: { item: 0 } }];"
      },
      "id": "421cb3a1-fcf6-5f52-954a-1c433a7bfbad",
      "name": "Check sheet settings",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        480,
        280
      ]
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "resource": "sheet",
        "operation": "read",
        "documentId": {
          "__rl": true,
          "value": "={{ $('Check sheet settings').first().json.spreadsheet_id }}",
          "mode": "id"
        },
        "sheetName": {
          "__rl": true,
          "value": "={{ $('Check sheet settings').first().json.sheet_name }}",
          "mode": "name"
        },
        "options": {
          "returnFirstMatch": false
        }
      },
      "id": "7205cad0-2507-51e9-9bb3-bc7ab08cb859",
      "name": "Read all sheet rows",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.7,
      "position": [
        720,
        280
      ]
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const items = $input.all();\nconst text = (value) => String(value ?? '').trim();\nconst seen = new Set();\nfor (const item of items) {\n  const row = item.json;\n  const hasContent = ['content_id', 'caption', 'image_url', 'status', 'job_ids'].some((key) => text(row[key]));\n  if (!hasContent) continue;\n  const id = text(row.content_id);\n  if (!/^[A-Za-z0-9][A-Za-z0-9_-]{0,79}$/.test(id) || String(row.content_id) !== id) {\n    throw new Error('Each nonempty row needs a content_id with only letters, numbers, dashes, or underscores, and no surrounding spaces.');\n  }\n  if (seen.has(id)) throw new Error('Duplicate content_id: ' + id + '. Give every row its own ID before running this workflow.');\n  seen.add(id);\n}\nconst index = items.findIndex(({ json: row }) => text(row.status) === 'approved' && !text(row.job_ids));\nif (index < 0) return [];\nconst source = items[index].json;\nif (text(source.post_urls)) throw new Error('This approved row already has a post_urls. Check the old post before changing this row.');\nconst caption = text(source.caption);\nif (!caption || caption.length > 2200 || /REPLACE_THIS|WRITE_YOUR|Replace this caption/i.test(caption)) {\n  throw new Error('Add the final social media caption to this row. Keep it between 1 and 2200 characters.');\n}\nconst imageUrl = text(source.image_url);\nif (!/^https:\\/\\/[^\\s/?#@]+\\/[^\\s]*$/i.test(imageUrl) || /example\\.(com|org|net)|REPLACE|YOUR_IMAGE|localhost|127\\.0\\.0\\.1/i.test(imageUrl)) {\n  throw new Error('Add a direct public HTTPS link to your JPEG image. Replace the sample image URL.');\n}\nconst scheduledAt = text(source.scheduled_at);\nconst timeZone = text(source.time_zone);\nlet scheduledUtc = '';\nif (scheduledAt) {\n  if (!/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$/.test(scheduledAt)) {\n    throw new Error('Use scheduled_at like 2026-10-01T09:00:00, with no offset. Put the IANA time zone in time_zone.');\n  }\n  if (!/^(UTC|[A-Za-z_+-]+\\/[A-Za-z_+\\/-]+)$/.test(timeZone)) {\n    throw new Error('Add an IANA time_zone, such as America/New_York, or UTC.');\n  }\n  const scheduled = DateTime.fromISO(scheduledAt, { zone: timeZone });\n  if (!scheduled.isValid || scheduled.toFormat(\"yyyy-MM-dd'T'HH:mm:ss\") !== scheduledAt) {\n    throw new Error('This date or local time does not exist in time_zone. Choose a valid time.');\n  }\n  if (typeof scheduled.getPossibleOffsets !== 'function') {\n    throw new Error('Update n8n before using scheduled dates, or leave scheduled_at blank to post now.');\n  }\n  if (scheduled.getPossibleOffsets().length !== 1) {\n    throw new Error('This local time happens twice when clocks change. Choose an unambiguous time, or use UTC.');\n  }\n  if (scheduled.toMillis() < $now.toMillis() + 5 * 60 * 1000) {\n    throw new Error('Choose a scheduled time at least five minutes from now. A blank scheduled_at posts now.');\n  }\n  scheduledUtc = scheduled.toUTC().toISO();\n}\nreturn [{ json: {\n  content_id: text(source.content_id), caption, image_url: imageUrl,\n  scheduled_at: scheduledAt, time_zone: timeZone,\n  scheduled_utc: scheduledUtc, platforms: ['facebook', 'instagram', 'linkedin']\n}, pairedItem: { item: index } }];"
      },
      "id": "7aed970e-3b08-57ee-a121-05df72448d66",
      "name": "Choose one approved row",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        960,
        280
      ]
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "resource": "sheet",
        "operation": "update",
        "documentId": {
          "__rl": true,
          "value": "={{ $('Check sheet settings').first().json.spreadsheet_id }}",
          "mode": "id"
        },
        "sheetName": {
          "__rl": true,
          "value": "={{ $('Check sheet settings').first().json.sheet_name }}",
          "mode": "name"
        },
        "options": {
          "cellFormat": "RAW"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "content_id": "={{ $json.content_id }}",
            "status": "sending",
            "error": ""
          },
          "matchingColumns": [
            "content_id"
          ],
          "schema": [
            {
              "id": "content_id",
              "displayName": "content_id",
              "required": false,
              "defaultMatch": true,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "error",
              "displayName": "error",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "id": "9349b0c9-311e-5c6f-9636-a58da3d4e43c",
      "name": "Mark row sending",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.7,
      "position": [
        1200,
        280
      ]
    },
    {
      "parameters": {
        "method": "GET",
        "url": "={{ $('Choose one approved row').first().json.image_url }}",
        "options": {
          "timeout": 60000,
          "response": {
            "response": {
              "responseFormat": "file",
              "outputPropertyName": "data"
            }
          },
          "redirect": {
            "redirect": {
              "followRedirects": false
            }
          }
        },
        "authentication": "none"
      },
      "id": "ea76a775-3f48-5c40-ac66-ea38a3d16fd7",
      "name": "Download image",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1440,
        280
      ],
      "retryOnFail": false
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const item = $input.first();\nconst mime = String(item.binary?.data?.mimeType ?? '').toLowerCase().split(';')[0].trim();\nif (mime !== 'image/jpeg') {\n  throw new Error('Use a direct link to a JPEG file, not a PNG, web page, or share page. The row stays sending until you review it.');\n}\nconst buffer = await this.helpers.getBinaryDataBuffer(0, 'data');\nif (!buffer.length || buffer.length > 8 * 1024 * 1024 || buffer[0] !== 0xff || buffer[1] !== 0xd8 || buffer[2] !== 0xff) {\n  throw new Error('Use a valid JPEG file no larger than 8 MB. The row stays sending until you review it.');\n}\nreturn [{ json: { upload_size: buffer.length }, binary: item.binary, pairedItem: { item: 0 } }];"
      },
      "id": "6478c35f-4007-5a84-93d9-b96e8e10fb5a",
      "name": "Check image file",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1680,
        280
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://mallary.ai/api/v1/upload",
        "authentication": "genericCredentialType",
        "options": {
          "timeout": 60000,
          "response": {
            "response": {
              "responseFormat": "json"
            }
          },
          "redirect": {
            "redirect": {
              "followRedirects": false
            }
          }
        },
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({filename:'social-post.jpg',type:'image/jpeg',size:$json.upload_size}) }}"
      },
      "id": "6a2c060c-63c4-5311-9105-c1590d85b47a",
      "name": "Get Mallary upload URL",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1920,
        280
      ],
      "retryOnFail": false
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const upload = $input.first().json;\nif (!/^https:\\/\\/files\\.mallary\\.ai\\//.test(String(upload.mediaUrl ?? '')) || !/^https:\\/\\/[^\\s/?#@]+\\.r2\\.cloudflarestorage\\.com\\//.test(String(upload.uploadUrl ?? '')) || upload.contentType !== 'image/jpeg') {\n  throw new Error('Mallary did not return the expected image upload details. Review this execution before resetting the sending row.');\n}\nconst headers = upload.headers;\nif (!headers || typeof headers !== 'object' || Array.isArray(headers) || headers['Content-Type'] !== 'image/jpeg' || Object.keys(headers).some((key) => key.toLowerCase() === 'authorization')) {\n  throw new Error('The storage upload headers were unexpected. Nothing has been posted.');\n}\nconst binary = $('Check image file').first().binary;\nif (!binary?.data) throw new Error('The downloaded image is missing. Nothing has been posted.');\nreturn [{ json: { upload_url: upload.uploadUrl, media_url: upload.mediaUrl, upload_headers: headers }, binary, pairedItem: { item: 0 } }];"
      },
      "id": "04084b94-1ff6-5021-b4b9-b2f35b92bc9b",
      "name": "Prepare image upload",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        2160,
        280
      ]
    },
    {
      "parameters": {
        "method": "PUT",
        "url": "={{ $json.upload_url }}",
        "authentication": "none",
        "options": {
          "timeout": 60000,
          "response": {
            "response": {
              "responseFormat": "text",
              "outputPropertyName": "data",
              "fullResponse": true,
              "neverError": false
            }
          },
          "redirect": {
            "redirect": {
              "followRedirects": false
            }
          }
        },
        "sendHeaders": true,
        "specifyHeaders": "json",
        "jsonHeaders": "={{ JSON.stringify($json.upload_headers) }}",
        "sendBody": true,
        "contentType": "binaryData",
        "inputDataFieldName": "data"
      },
      "id": "40b9894b-7187-5026-86e6-ba381b79a43e",
      "name": "Upload image to storage",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        2400,
        280
      ],
      "retryOnFail": false
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const result = $input.first().json;\nif (!Number.isInteger(result.statusCode) || result.statusCode < 200 || result.statusCode >= 300) {\n  throw new Error('The image upload did not succeed. No post was submitted. Review the sending row.');\n}\nconst row = $('Choose one approved row').first().json;\nconst upload = $('Prepare image upload').first().json;\nif (row.scheduled_utc && DateTime.fromISO(row.scheduled_utc).toMillis() <= $now.toMillis() + 60 * 1000) {\n  throw new Error('The scheduled time is now too close or has passed. Nothing was submitted. Review the row and choose a later time.');\n}\nconst body = { platforms: row.platforms, message: row.caption, media: [{ url: upload.media_url, type: 'image/jpeg' }] };\nif (row.scheduled_utc) {\n  body.scheduled_at = row.scheduled_utc;\n  body.scheduled_timezone = row.time_zone;\n}\nreturn [{ json: { content_id: row.content_id, post_body: body }, pairedItem: { item: 0 } }];"
      },
      "id": "8b8bead5-790e-5344-ae34-212c800dbc0e",
      "name": "Check ready to publish",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        2640,
        280
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://mallary.ai/api/v1/post",
        "authentication": "genericCredentialType",
        "options": {
          "timeout": 60000,
          "response": {
            "response": {
              "responseFormat": "json"
            }
          },
          "redirect": {
            "redirect": {
              "followRedirects": false
            }
          }
        },
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json.post_body) }}"
      },
      "id": "559d058e-8508-5730-860d-45ac6d272731",
      "name": "Create social posts",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        2880,
        280
      ],
      "retryOnFail": false
    },
    {
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const response = $input.first().json;\nconst row = $('Choose one approved row').first().json;\nif (response.status !== 'queued' || !Array.isArray(response.jobs) || response.jobs.length < row.platforms.length) {\n  throw new Error('The create response was unexpected. The row stays sending. Check Mallary and the execution output before publishing again.');\n}\nconst seen = new Set();\nconst jobs = response.jobs.map((job) => {\n  const platform = String(job.platform ?? '').trim();\n  const jobId = String(job.jobId ?? '').trim();\n  if (!row.platforms.includes(platform) || !/^[A-Za-z0-9_-]{1,128}$/.test(jobId) || (typeof job.jobId === 'number' && !Number.isSafeInteger(job.jobId)) || seen.has(jobId)) {\n    throw new Error('A returned job was invalid or repeated. Check the full create response before trying again.');\n  }\n  seen.add(jobId);\n  return { platform, job_id: jobId };\n});\nif (!row.platforms.every((platform) => jobs.some((job) => job.platform === platform))) {\n  throw new Error('A selected platform was missing from the create response. Check Mallary before trying again.');\n}\nreturn [{ json: { content_id: row.content_id, status: 'submitted', job_ids: JSON.stringify(jobs), post_urls: '', platform_status: jobs.map((job) => job.platform + ' (' + job.job_id + '): queued').join('\\n'), error: '' }, pairedItem: { item: 0 } }];"
      },
      "id": "20b573f9-f233-55b1-8e8f-5c72e0ac3059",
      "name": "Read publishing receipt",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        3120,
        280
      ]
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "resource": "sheet",
        "operation": "update",
        "documentId": {
          "__rl": true,
          "value": "={{ $('Check sheet settings').first().json.spreadsheet_id }}",
          "mode": "id"
        },
        "sheetName": {
          "__rl": true,
          "value": "={{ $('Check sheet settings').first().json.sheet_name }}",
          "mode": "name"
        },
        "options": {
          "cellFormat": "RAW"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "content_id": "={{ $json.content_id }}",
            "status": "={{ $json.status }}",
            "job_ids": "={{ $json.job_ids }}",
            "post_urls": "={{ $json.post_urls }}",
            "platform_status": "={{ $json.platform_status }}",
            "error": "={{ $json.error }}"
          },
          "matchingColumns": [
            "content_id"
          ],
          "schema": [
            {
              "id": "content_id",
              "displayName": "content_id",
              "required": false,
              "defaultMatch": true,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "job_ids",
              "displayName": "job_ids",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "post_urls",
              "displayName": "post_urls",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "platform_status",
              "displayName": "platform_status",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            },
            {
              "id": "error",
              "displayName": "error",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "id": "257d81f2-d145-5207-8bed-bc8adc39b85b",
      "name": "Save submitted jobs",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.7,
      "position": [
        3360,
        280
      ]
    },
    {
      "parameters": {
        "content": "## Set up in n8n Cloud or self-hosted n8n\nThese files use built-in nodes. No community node is needed.\n1. Import content-queue.csv into a Google Sheet. Name the tab Posts. Keep all eight headers. Format content_id and job_ids as Plain text.\n2. In Sheet settings, replace spreadsheet_id with the ID between /d/ and /edit in your Sheet URL. Change sheet_name only if needed.\n3. Select your Google Sheets OAuth credential in each green Sheets node.\n4. Create one Header Auth credential: Name = Authorization; Value = Bearer followed by a space and your Mallary API key. Select it only in Get Mallary upload URL, Create social posts, and Get Mallary job.\nNever add that credential to Download image or Upload image to storage. No credentials are included in these files.",
        "height": 350,
        "width": 780
      },
      "id": "479027e1-e7e9-56e2-b8b2-c5e0e57a736a",
      "name": "Start here",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -90
      ]
    },
    {
      "parameters": {
        "content": "## Send the same post to three platforms\nConnect a Facebook Page, an Instagram professional account, and a LinkedIn account in Mallary. Start with one connected account per platform.\nUse one JPEG at most 8 MB, a direct public HTTPS image link, and one caption up to 2200 characters. A square JPEG works well for this example. Replace every sample value. Set status to approved only when you want real posts sent.\nRun the whole workflow once. This starter posts now. It sends one approved row to Facebook, Instagram, and LinkedIn in a single Mallary request, then saves every returned job in job_ids.",
        "height": 350,
        "width": 780
      },
      "id": "47f60af6-8870-5ff4-b43b-82640cdfcbe9",
      "name": "How to publish",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        840,
        -90
      ]
    },
    {
      "parameters": {
        "content": "## Track every result without posting twice\nRun the separate checker after sending. It reads every saved job and writes platform_status, post_urls, and error. While any job waits, status stays submitted. After all jobs finish: live means all succeeded, failed means none succeeded, and partial means some succeeded.\nIf publishing stops with sending, check Mallary and the execution output. A post may already exist. Copy the complete jobs array from the create response as JSON into job_ids, then set status to submitted. The checker accepts the response field jobId and the saved field job_id. Never blindly retry Create social posts or reset sending to approved.\nSheet status is not an atomic lock. Run one publisher at a time and do not edit a selected row while it runs.\nChanging platforms later also requires their media and caption rules. Do not simply add every platform to this image example.",
        "height": 350,
        "width": 1100
      },
      "id": "8ddc5693-a907-582d-a505-ab0e8ad667ab",
      "name": "Avoid repeat sends",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1700,
        -90
      ]
    },
    {
      "parameters": {
        "content": "## Optional: schedule posts later\nAfter the post-now example works, add scheduled_at and time_zone columns to the Sheet. Format scheduled_at as Plain text. Use YYYY-MM-DDTHH:mm:ss plus an explicit IANA time_zone such as America/New_York, or UTC. Choose a time at least five minutes ahead. Clock-change gaps and ambiguous times are rejected.\nIf scheduled_at is missing or blank, the workflow posts now. It sends no scheduling fields.\nTo automate checks for approved rows, you can replace Run manually with a Schedule Trigger after testing. Keep publisher runs from overlapping before you publish the workflow.",
        "height": 260,
        "width": 1000
      },
      "id": "optional-scheduling-note",
      "name": "Optional scheduling",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        600
      ]
    }
  ],
  "connections": {
    "Run manually": {
      "main": [
        [
          {
            "node": "Sheet settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sheet settings": {
      "main": [
        [
          {
            "node": "Check sheet settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check sheet settings": {
      "main": [
        [
          {
            "node": "Read all sheet rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read all sheet rows": {
      "main": [
        [
          {
            "node": "Choose one approved row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Choose one approved row": {
      "main": [
        [
          {
            "node": "Mark row sending",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark row sending": {
      "main": [
        [
          {
            "node": "Download image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download image": {
      "main": [
        [
          {
            "node": "Check image file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check image file": {
      "main": [
        [
          {
            "node": "Get Mallary upload URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Mallary upload URL": {
      "main": [
        [
          {
            "node": "Prepare image upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare image upload": {
      "main": [
        [
          {
            "node": "Upload image to storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload image to storage": {
      "main": [
        [
          {
            "node": "Check ready to publish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check ready to publish": {
      "main": [
        [
          {
            "node": "Create social posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create social posts": {
      "main": [
        [
          {
            "node": "Read publishing receipt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read publishing receipt": {
      "main": [
        [
          {
            "node": "Save submitted jobs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true
  },
  "pinData": {},
  "tags": []
}
