Post new Shopify products to Instagram, Facebook and X with OpenAI and Airtable
UnknownWhat this workflow does
This AI workflow has 20 nodes and runs on a schedule (every 10 minutes). Along the way it connects Airtable, OpenAI, X (Formerly Twitter) and Uploadtourl (community).
How it runs
Trigger: On a schedule (every 10 minutes).
- Shopify — Fetch Recent Products (API) (HTTP Request): calls an HTTP API
- Code: runs custom JavaScript code
- Split In Batches — One Product at a Time (Loop Over Items (Split in Batches)): loops over the items in batches
- Airtable: search
- If: checks a condition and branches into true / false
- Set — Store Product Fields as Variables (Edit Fields (Set)): sets 9 fields: productId, title, description…
- HTTP — Fetch Product Image Binary (HTTP Request): calls an HTTP API
- Upload a File (Upload To Url): uses Upload To Url
- Set — Store Hosted Image URL (Edit Fields (Set)): sets 8 fields: hostedImageUrl, productId, title…
- Code: runs custom JavaScript code
…plus 9 more steps. See the full node list below.
Services it uses
Other OpenAI + Airtable templates (215) · Other OpenAI + Facebook templates (107) · Other X (Twitter) + OpenAI templates (67)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-uploadtourl is verified or supports 3.0 (used in Upload a File).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Airtable
n8n-nodes-base.airtable - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - OpenAI
@n8n/n8n-nodes-langchain.openAi - X (Formerly Twitter)
n8n-nodes-base.twitter - Upload To Url
n8n-nodes-uploadtourl.uploadToUrl
From the author
Automate your social media marketing by instantly promoting new Shopify products. This workflow polls your store for new arrivals, generates AI-powered captions, and publishes them across Instagram, Facebook, and Twitter/X—while maintaining a deduplication…