ChatGPT changed what's possible when you sit at your computer. Zapier changes what's possible when no one's at the computer. Together, they enable automations that would have seemed impossible five years ago: an AI that reads every incoming lead form, scores the lead, drafts a personalized outreach email, and routes it to the right sales rep — automatically, 24/7, without human involvement.
This guide walks you through everything: setting up OpenAI API access, connecting it to Zapier, and building three real automations you can deploy today.
Disclosure: This guide contains affiliate links to Zapier. We earn a commission if you sign up — at no extra cost to you.
Prerequisites & Setup
Before building your first ChatGPT + Zapier automation, you need three things:
1. A Zapier Paid Account
The OpenAI integration in Zapier requires a paid plan — Starter ($29.99/month) or above. Multi-step Zaps (which you'll need for any real AI automation) also require a paid plan. Try Zapier free for 14 days to test before committing.
2. An OpenAI API Account
This is entirely separate from your ChatGPT Plus subscription. Go to platform.openai.com, create an account, navigate to Settings → Billing, and add a payment method. Load a minimum of $5 in credits — this will run thousands of automation calls. You'll pay only for what you use.
3. An OpenAI API Key
In the OpenAI platform: Settings → API Keys → Create new secret key. Name it "Zapier" so you can identify it later. Copy the key immediately — you only see it once. Store it in a password manager (1Password, Bitwarden, etc.).
Connecting OpenAI to Zapier
Once you have your API key, the connection takes 3 minutes:
- Log into Zapier and click Create Zap
- Set your trigger first (covered in each automation below)
- Add an action step — search for "OpenAI (GPT-4, ChatGPT, DALL-E, Whisper)"
- Choose your action event. The most useful ones:
- Send Prompt — most common; sends a message to GPT and returns the response
- Conversation — maintains chat context across multiple messages (good for follow-up sequences)
- Summarize Text — built-in summarization without manual prompting
- Extract Text Data — structured data extraction from unstructured text
- Click Sign in to OpenAI → enter your API key → click Yes, continue
- Configure the model (we recommend gpt-4o-mini for most tasks — great quality, very cheap)
- Write your prompt and map dynamic data from previous Zap steps
That's the core setup. Now let's build three real automations.
Automation 1: AI Email Responder
This automation reads incoming emails matching specific criteria and drafts an AI reply — saved to your Gmail drafts for one-click review and send. It's ideal for customer inquiry emails, quote requests, and support questions.
Workflow Overview
New Gmail email (matching search) → OpenAI drafts a reply → Draft saved to Gmail → Slack notification to review
Step 1: Gmail Trigger
- Trigger app: Gmail
- Trigger event: New Email Matching Search
- Search query:
subject:(quote request) OR subject:(pricing inquiry) is:inbox - Test the trigger — confirm sample email data comes through
Step 2: OpenAI Action — Draft the Reply
- Action app: OpenAI
- Action event: Send Prompt
- Model: gpt-4o-mini
- User message: Map the Gmail email body from your trigger step
- System message (customize for your business):
You are a professional assistant for [COMPANY NAME], a [BUSINESS TYPE]. When given a customer inquiry email, write a warm, professional reply that: 1. Thanks the customer for reaching out 2. Confirms you received their inquiry 3. Asks 1-2 clarifying questions to help prepare an accurate response 4. Proposes a 15-minute discovery call: [YOUR CALENDLY LINK] 5. Signs off: [YOUR NAME], [YOUR TITLE] Write ONLY the email body. No subject line. Under 150 words. Professional and helpful tone.
- Max tokens: 300
- Temperature: 0.7
Step 3: Save Draft to Gmail
- Action app: Gmail
- Action event: Create Draft
- To: Map sender email from trigger
- Subject:
Re:+ map the subject from trigger - Body: Map the OpenAI response from Step 2
- Thread ID: Map from trigger (keeps it as a threaded reply)
Step 4: Slack Alert
- Action app: Slack
- Channel:
#sales-alertsor your preferred channel - Message:
📧 Quote request from [sender name] — AI draft saved to Gmail. Review and send: [sender email]
Published and live in ~20 minutes. Every new quote request email now has an AI-drafted reply waiting in your Gmail drafts. Your review takes 30 seconds instead of 5 minutes.
Automation 2: AI Content Generator
This automation takes a content brief from a Google Sheet row and generates a social media post and email newsletter teaser — automatically saved back to the sheet for review.
Workflow Overview
New Google Sheets row (content brief) → OpenAI generates social post → Second OpenAI call generates email teaser → Results written back to the sheet row
Step 1: Google Sheets Trigger
- Trigger app: Google Sheets
- Trigger event: New Spreadsheet Row
- Sheet: Your content calendar spreadsheet (columns: Topic, Keyword, Target Audience, Tone, Notes)
- Test — confirm the row data comes through with all columns mapped
Step 2: OpenAI — Generate Social Post
- Action app: OpenAI
- Action event: Send Prompt
- Model: gpt-4o-mini
- User message: Map topic, keyword, audience, and tone from the sheet row
- System message:
Write a LinkedIn post about [topic] targeting [audience]. Primary keyword: [keyword]. Tone: [tone]. Format: Hook (1 sentence), 3-4 bullet points of value, CTA. Max 200 words. No hashtag spam — maximum 3 relevant hashtags at the end.
Step 3: OpenAI — Generate Email Teaser
- Add a second OpenAI action step
- System message:
Write a 2-3 sentence email newsletter teaser about [topic] for [audience]. The teaser should create curiosity and drive clicks. End with a clear CTA like "Read more →"
Step 4: Update Google Sheets Row
- Action app: Google Sheets
- Action event: Update Spreadsheet Row
- Map the generated social post and email teaser into their respective columns
- Set a "Status" column to "Draft Ready"
Your content calendar now auto-populates with AI drafts whenever you add a new row. Edit and publish at your convenience — the ideation and first draft are already done.
For more content automation ideas, see our guide on automating content creation with AI.
Automation 3: AI Lead Qualifier
This is the highest-ROI automation in this guide. It automatically scores every inbound lead, routes them based on quality tier, and creates CRM tasks with AI-generated next steps — without any human involvement.
Workflow Overview
New Typeform / HubSpot form submission → OpenAI classifies lead quality (Hot/Warm/Cold) → Zapier Paths route to different actions based on classification → CRM records created with AI-generated notes
Step 1: Form Trigger
- Trigger app: Typeform or HubSpot (New Form Submission)
- Form: Your lead capture form (should include: company name, role, team size, budget range, timeline, use case)
- Test with a real or simulated submission
Step 2: OpenAI — Score the Lead
- Action app: OpenAI
- Action event: Send Prompt
- Model: gpt-4o-mini
- User message: Map all form fields from the trigger
- System message:
You are a sales qualification assistant. Analyze this lead's form submission and return ONLY a JSON object (no other text): { "score": "Hot" | "Warm" | "Cold", "reasoning": "1-2 sentence explanation", "suggested_next_step": "specific action for sales rep", "estimated_deal_size": "Small" | "Medium" | "Large" } Hot = decision maker + budget + urgent timeline + clear use case Warm = some signals present but missing budget or timeline clarity Cold = early-stage, unclear fit, or wrong ICP Analyze: [form fields mapped here]
Step 3: Zapier Paths — Route by Lead Score
- Add a Paths step (available on Professional plan and above)
- Path A (Hot): Filter condition — OpenAI response contains "Hot"
- Path B (Warm): Filter condition — OpenAI response contains "Warm"
- Path C (Cold): Everything else (catch-all)
Step 4: Actions Per Path
Hot Lead Path:
- Create HubSpot deal (stage: "SQL - Sales Qualified Lead")
- Create task in HubSpot: "Call within 24 hours — AI note: [reasoning from OpenAI]"
- Slack DM to sales lead: "@here 🔥 HOT LEAD: [name] from [company] — [AI summary]. Call ASAP."
- Send personalized email via Gmail with immediate calendar link
Warm Lead Path:
- Create HubSpot contact (lifecycle stage: MQL)
- Add to nurture email sequence (ActiveCampaign or Mailchimp)
- Create 72-hour follow-up task for SDR
- Slack channel notification (lower urgency)
Cold Lead Path:
- Add to HubSpot as contact with tag "cold-nurture"
- Subscribe to long-term newsletter sequence
- No immediate sales action required
This single Zap replaces what would otherwise be 15-30 minutes of a sales rep's time per lead — and it never misses a hot lead by routing it to a low-priority queue.
Writing Effective AI Prompts for Zapier
The quality of your Zapier AI automations depends almost entirely on prompt quality. Here are the principles that consistently produce reliable outputs:
1. Define a Persona
Start with "You are a [specific role]" — this sets context that dramatically improves output relevance. "You are a professional B2B sales assistant for a SaaS company" produces better sales emails than no persona at all.
2. Specify the Output Format Explicitly
For any automation that needs to parse the AI output (like our lead scorer), specify exact output format: "Return ONLY a JSON object with these exact keys: score, reasoning, suggested_next_step. No other text." GPT-4o-mini is highly reliable at following explicit format instructions when they're clear.
3. Set Constraints
Always specify length ("under 150 words"), tone ("professional and warm"), and scope ("write ONLY the email body, no subject line"). Without constraints, AI outputs vary wildly in length and format — which breaks downstream steps that expect consistent data.
4. Use Few-Shot Examples for Complex Tasks
For non-trivial classification or generation, include 2-3 examples in your prompt: "Here are examples of correct outputs: [example 1] [example 2]." This technique is particularly effective for lead scoring and sentiment classification where nuance matters.
5. Test with Edge Cases
Before publishing, test your prompt with unusual inputs: very short responses, non-English text, spam submissions, sarcastic answers. AI prompts that work on clean data often fail on edge cases — finding and fixing these before publishing saves headaches.
Cost Breakdown: What This Costs to Run
A common concern is cost. Here's a realistic breakdown for a small business running all three automations:
- Zapier Starter: $29.99/month — 750 tasks. Three automations running at moderate volume (50-100 triggers/month each) = ~300-600 tasks/month. Fits comfortably within Starter.
- OpenAI API (GPT-4o Mini): ~$0.15/million input tokens, ~$0.60/million output tokens. Average 600 tokens per automation run × 200 runs/month = 120,000 tokens. Cost: ~$0.09/month. Yes, under $0.10/month for 200 AI runs.
- Total monthly cost: ~$30-35/month for all three AI automations running at moderate volume.
The ROI math is simple: if these automations save even 2 hours per month of manual work, they've paid for themselves many times over. See OpenAI's official pricing page for current API rates.
ChatGPT vs Other AI Models in Zapier
OpenAI isn't your only option. Zapier integrates with multiple AI providers:
- OpenAI GPT-4o Mini — Best default choice. Fast, cheap, reliable. Use for classification, short drafts, data extraction.
- OpenAI GPT-4o — Use when quality matters most (complex reasoning, nuanced writing). ~10x more expensive than 4o-mini.
- Anthropic Claude 3.5 Sonnet — Excellent for longer content generation and following complex instructions precisely. Similar price to GPT-4o.
- Google Gemini Flash — Very fast and cheap; great if your workflow involves Google Workspace data. Native integration with Google ecosystem.
- Anthropic Claude Haiku — Ultra-fast and cheap; comparable to GPT-4o Mini for simple classification tasks.
Our recommendation: default to GPT-4o Mini. Upgrade to GPT-4o or Claude Sonnet only when Mini doesn't produce sufficient quality for your specific use case. See our best AI automation tools guide for a broader comparison.
If you find Zapier's pricing limiting as your automation volume grows, consider Make.com as an alternative — it supports the same AI integrations at 3-5x lower cost per operation.
Next Steps & Advanced Workflows
Once you're comfortable with these three automations, here are advanced patterns to explore:
- AI document summarizer: New PDF in Google Drive → extract text via Zapier → OpenAI summary → save to Notion database
- AI customer support triage: New support ticket (Zendesk/Intercom) → classify urgency → route to appropriate team → draft suggested reply
- AI social listening responder: Brand mention on Twitter/Reddit → classify sentiment → if negative, alert team with AI-drafted response suggestion
- AI invoice data extractor: New email with PDF attachment → extract invoice data with GPT vision → create bill in accounting software
- AI meeting notes processor: Otter.ai transcript → OpenAI extracts action items + decisions → creates tasks in your project manager + sends summary email to attendees
The pattern for all of these is the same: trigger → AI processing step → conditional routing → action(s). Once you've built the three automations in this guide, every additional workflow follows the same structure.
For further reading on business automation strategy, see our guides on automating lead generation and daily business tasks to automate with AI.
For Zapier use case inspiration directly from the source, the Zapier AI automation blog publishes regular tutorials and case studies.
Frequently Asked Questions
Do I need a ChatGPT Plus subscription to use ChatGPT with Zapier?
No. To use ChatGPT (OpenAI) with Zapier, you need an OpenAI API account — separate from ChatGPT Plus — with API credits loaded. OpenAI API is pay-as-you-go; most moderate-use automations cost under $5/month in API fees. ChatGPT Plus gives you the ChatGPT web interface but does NOT include API credits.
Is Zapier's OpenAI integration free?
The Zapier OpenAI integration requires a paid Zapier plan (Starter at $29.99/month or above). Each OpenAI API call also costs OpenAI API credits, billed separately. Budget for both: Zapier task costs and OpenAI API token costs when planning your AI automation workflows.
What can ChatGPT do inside a Zapier workflow?
Inside Zapier, ChatGPT can: summarize text, draft email replies, classify content (e.g., score leads), extract structured data from unstructured text, translate languages, generate social media posts, and perform any text-based task. The key is writing a clear system prompt defining the exact task and output format.
How much does a ChatGPT Zapier automation cost to run?
Using GPT-4o Mini: roughly $0.15/million input tokens + $0.60/million output tokens. A typical email classification + draft reply uses ~600 tokens total = under $0.001 per run. At 500 runs/month, that's under $0.50 in API costs. Total with Zapier plan: ~$30-35/month for most SMBs.
Can I use Claude or Gemini instead of ChatGPT with Zapier?
Yes. Zapier has native integrations for Anthropic (Claude), Google AI (Gemini), and Hugging Face in addition to OpenAI. The setup process is similar. Claude 3.5 Sonnet is often preferred for longer writing tasks; GPT-4o Mini for fast classification; Gemini for Google Workspace integrations.
What's the best model to use for Zapier automations?
For most Zapier automations, GPT-4o Mini offers the best cost-to-quality ratio. It's dramatically cheaper than GPT-4o while performing comparably on classification, summarization, and short drafting tasks. Use GPT-4o for complex reasoning. Use Claude 3.5 Sonnet for longer content generation where quality is paramount.