AI Content Idea Generator Template
Each new idea in your Zapier Table gets five related ideas from ChatGPT, saved back to the table as drafts for review.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/generate-content-ideas-with-chatgpt-in-zapier-tables/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Marketing · Content media production
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/generate-content-ideas-with-chatgpt-in-zapier-tables
Set it up with the CLI
- Add it. Copies the folder into
zaps/generate-content-ideas-with-chatgpt-in-zapier-tables/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/generate-content-ideas-with-chatgpt-in-zapier-tables - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy generate-content-ideas-with-chatgpt-in-zapier-tables - Check it. Its recent runs, with status and errors.
npx zap-pack logs generate-content-ideas-with-chatgpt-in-zapier-tables
zaps/generate-content-ideas-with-chatgpt-in-zapier-tables/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/chatgpt.tsThe
chatgptaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - triggers/new-record.tsWhat starts it:
zapier-tablesnew_record1 to fill in - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a new record is added to your ideas table (
zapier-tables,new_record). - Workflow skips records marked AI-generated, so the ideas it saves don't generate more ideas, and records with no title.
- ChatGPT receives the idea's title, details and type of content, and returns five related ideas as JSON, each with a title and details of the same type of content.
- Zapier Tables adds those five ideas to the same table as new records, marked AI-generated with the status Draft.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | Where | What goes there |
|---|---|---|
TABLE_ID |
config.ts, and table_id in triggers/new-record.ts |
The ideas table: ask which table holds the ideas, then look up its ID with the user's Zapier Tables connection (the ID in its URL) |
Use the same table ID in both places, or the trigger and the saved ideas will point at different tables.
The table needs five columns in this order: Title, Details, Type of content, AI-generated (checkbox), Status. The field keys in config.ts (f1 to f5) are the keys of the template's Ideas table. A table the user builds from scratch has different keys, and each one must be matched before the first run.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/generate-content-ideas-with-chatgpt-in-zapier-tables, replace each REPLACE_… value as this file says, then run npx zap-pack deploy generate-content-ideas-with-chatgpt-in-zapier-tables, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
zapier-tablesto the user's Zapier Tables connection for the account that holds the ideas table, andchatgptto the user's ChatGPT (OpenAI) connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-record.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect the Zapier Tables
new_recordtrigger's fields and thecreate_recordaction's fields with the user's connections before the first test run, and fix any key inworkflow.tsthat doesn't match. Check that the trigger's input carries the record's Title, Details, Type of content label, AI-generated and Status values under the names the workflow reads.
Test it
Run this sample as a draft test (run_workflow_draft in Zapier MCP), against a test ideas table the user owns:
{
"record_id": "rec_test_0001",
"new": {
"data": {
"f1": "Test idea: how a small team uses AI for content",
"f2": "A test idea for checking the Zap. Delete it after the run.",
"f3": "blog_post",
"f3__label": "Blog post",
"f4": false,
"f5": "Draft"
}
}
}
Confirm that five new records appear in the test table, each marked AI-generated with the status Draft and a type of content of Blog post, and that the test idea itself is unchanged. The user deletes the test records, not the agent. The ChatGPT step checks every 30 seconds for up to ten minutes, so the run can take a few minutes.
Notes
- Every new record in the table starts a run, so keep the table to the ideas the team wants expanded. Records added by this Zap are skipped.
- The model is set in
config.ts(DEFAULT_MODEL). Change it there if the user's ChatGPT account has a different model available. - Never commit a real table ID.