AutomationFlowsData & Sheets › Nyx — Ig Publisher (in-house, Graph Api)

Nyx — Ig Publisher (in-house, Graph Api)

NYX — IG Publisher (in-house, Graph API). Uses airtable, httpRequest. Scheduled trigger; 5 nodes.

Cron / scheduled trigger★★★★☆ complexity5 nodesAirtableHTTP Request
Data & Sheets Trigger: Cron / scheduled Nodes: 5 Complexity: ★★★★☆ Added:

This workflow follows the Airtable → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "NYX \u2014 IG Publisher (in-house, Graph API)",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 5
            }
          ]
        }
      },
      "id": "sched",
      "name": "Every 5 min",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        300
      ]
    },
    {
      "parameters": {
        "operation": "search",
        "base": {
          "__rl": true,
          "value": "appcVqNbt8fyF1Dxv",
          "mode": "id"
        },
        "table": {
          "__rl": true,
          "value": "tblQMrqBLw11lr8kF",
          "mode": "id"
        },
        "filterByFormula": "AND({Status}='Scheduled', {Type}='Image', {Media URL}!='', IS_BEFORE({Scheduled At}, NOW()))",
        "options": {}
      },
      "id": "due",
      "name": "Find due posts",
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        220,
        300
      ],
      "credentials": {
        "airtableTokenApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://graph.facebook.com/v21.0/__IG_USER_ID__/media",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "image_url",
              "value": "={{ $json['Media URL'] }}"
            },
            {
              "name": "caption",
              "value": "={{ $json.Caption }}"
            }
          ]
        },
        "options": {
          "response": {
            "response": {
              "neverError": true
            }
          }
        }
      },
      "id": "container",
      "name": "Graph: create container",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        440,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://graph.facebook.com/v21.0/__IG_USER_ID__/media_publish",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "creation_id",
              "value": "={{ $json.id }}"
            }
          ]
        },
        "options": {
          "response": {
            "response": {
              "neverError": true
            }
          }
        }
      },
      "id": "publish",
      "name": "Graph: publish",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        660,
        300
      ]
    },
    {
      "parameters": {
        "operation": "update",
        "base": {
          "__rl": true,
          "value": "appcVqNbt8fyF1Dxv",
          "mode": "id"
        },
        "table": {
          "__rl": true,
          "value": "tblQMrqBLw11lr8kF",
          "mode": "id"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "id": "={{ $('Find due posts').item.json.id }}",
            "Status": "={{ $json.id ? 'Published' : 'Failed' }}",
            "Result": "={{ $json.id ? ('IG media ' + $json.id) : JSON.stringify($json).slice(0,400) }}"
          },
          "matchingColumns": [
            "id"
          ],
          "schema": []
        },
        "options": {
          "typecast": true
        }
      },
      "id": "mark",
      "name": "Mark result",
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        880,
        300
      ],
      "credentials": {
        "airtableTokenApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Every 5 min": {
      "main": [
        [
          {
            "node": "Find due posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find due posts": {
      "main": [
        [
          {
            "node": "Graph: create container",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Graph: create container": {
      "main": [
        [
          {
            "node": "Graph: publish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Graph: publish": {
      "main": [
        [
          {
            "node": "Mark result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {}
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

NYX — IG Publisher (in-house, Graph API). Uses airtable, httpRequest. Scheduled trigger; 5 nodes.

Source: https://github.com/atharvgit2005/nyx-automate/blob/a6e103a7a2ca1267f736fea39669aa9ac12bc63a/n8n/nyx-ig-publisher.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

I prepared a detailed guide that showed the whole process of integrating the Binance API and storing data in Airtable to manage funding statements associated with tokens in a wallet.

Crypto, HTTP Request, Airtable
Data & Sheets

Stop wasting hours on manual dialing and listening to ringtones. This workflow transforms your Airtable into a high-velocity AI Call Center using Vapi AI**.

Airtable, HTTP Request
Data & Sheets

Reel-Analysis-Of-Favourite-Content-Creator. Uses httpRequest, airtable. Scheduled trigger; 26 nodes.

HTTP Request, Airtable
Data & Sheets

Link-By-Reel-Analysis. Uses httpRequest, airtable. Scheduled trigger; 24 nodes.

HTTP Request, Airtable
Data & Sheets

&gt; Transform your content strategy with automated competitor intelligence

HTTP Request, Airtable, Notion +2