Post new Shopify products to Instagram, Facebook and X with OpenAI and Airtable
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 log in Airtable.
π― What This Workflow Does
This workflow acts as a 24/7 social media manager, ensuring every new product gets immediate visibility without manual effort.
β±οΈ Step 1 β Poll, Fetch & Deduplicate
Schedule Trigger:** Polls Shopify every 10 minutes for products published in the last 15 minutes
Deduplication Logic:** Checks Airtable (ProductPostLog) to avoid reposting the same product
πΌοΈ Step 2 β Data Enrichment & Media Hosting
Normalization:** Cleans and maps product fields (title, price, vendor)
CDN Hosting:** Downloads product image and uploads via UploadToURL to generate a public HTTPS URL
π€ Step 3 β Platform-Specific AI Captions
Instagram:** Storytelling style, emojis, 10+ hashtags
Facebook:** Conversational, CTA-driven, link preview optimized
Twitter/X:** Short-form (under 260 chars), includes price and link
π€ Step 4 β Multi-Platform Publishing & Logging
Instagram:** Create container β publish via Graph API
Facebook:** Post image + caption to Page
Twitter/X:** Publish tweet via native node
Airtable Log:** Store status, timestamp, and image URL for tracking
β¨ Key Features
Intelligent Deduplication:** Prevents duplicate posts using Airtable log
Sequential Processing:** Handles products one-by-one to avoid rate limits
Custom AI Tones:** Tailored captions for each platform
Reliable Media Hosting:** UploadToURL ensures valid public image URLs
π§ Setup Requirements
Required Integrations
Shopify:** Admin API with read_products scope
Airtable:** Base with ProductPostLog table
OpenAI:** API credentials for caption generation
Facebook & Instagram:** Page token with posting permissions
Twitter/X:** OAuth1 credentials
UploadToURL:** CDN hosting for images
Environment Variables
SHOPIFY_STORE_DOMAIN
SHOPIFY_ACCESS_TOKEN
IG_ACCOUNT_ID
FB_ACCESS_TOKEN
FB_PAGE_ID
Ready to launch? Import this template and connect your Shopify store to turn every new product into a viral social media event!
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
π° AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments