Generate and vet ad creative with OpenAI, Spendict, Google Sheets, and Slack
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs when someone submits an n8n form (“Generate + gate ad variants”). Along the way it connects Google Sheets. It also calls api.openai.com, spendict.com and hooks.slack.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Generate + gate ad variants”).
- OpenAI: generate variants (HTTP Request): calls api.openai.com (POST)
- Split into variants (Code): runs custom JavaScript code
- Spendict: assess_ad_creative (HTTP Request): calls spendict.com (POST)
- Gate on verdict (Switch): routes items into 2 branches
- Row: approved (Code): runs custom JavaScript code
- OpenAI: rewrite with fixes (HTTP Request): calls api.openai.com (POST)
- Killed ads (logged) (Aggregate): combines items into one
- Collect winners (Merge): merges the data from its input branches
- Parse rewritten ad (Code): runs custom JavaScript code
- Google Sheets: append
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.openai.com, spendict.com, hooks.slack.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.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge - Google Sheets
n8n-nodes-base.googleSheets - Aggregate
n8n-nodes-base.aggregate
From the author
Quick overview This workflow collects a product brief via an n8n form, uses OpenAI to generate ad variants, gates each one with Spendict run/fix/kill scoring, auto-rewrites fixable ads, logs approved results to Google Sheets, and posts an approval count to…