Announce new Gumroad products with OpenAI on Facebook and Instagram
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs on a schedule (every 30 minutes). Along the way it connects OpenAI and Gmail. It also calls api.gumroad.com over HTTP.
How it runs
Trigger: On a schedule (every 30 minutes).
- Settings (Edit Fields (Set)): sets 10 fields: facebookPageId, instagramAccountId, graphApiVersion…
- Ensure the announcement log (Data table): create (table)
- Fetch Gumroad products (HTTP Request): calls api.gumroad.com
- Expand products per platform (Code): runs custom JavaScript code
- Summarize the failure (Code): runs custom JavaScript code
- Skip already announced (Data table): row not exists
- Email the failure report (Gmail): send (message)
- First run: only mark? (If): checks a condition and branches into true / false
- Log the result (Data table): insert (row)
- Write platform caption (OpenAI): uses OpenAI
…plus 5 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Facebook templates (107) · Other Gmail + Facebook templates (43)
HTTP calls to: api.gumroad.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow runs hourly to poll your Gumroad products, generates a short announcement caption with OpenAI, and publishes new product posts to a Facebook Page and an Instagram Business account via the Facebook Graph API. How it works 1. Runs…