Back to Guides
Webhooks & Automation12 min

Real-World Recipes

Copy-paste automation recipes for common use cases โ€” Slack alerts, AI inventory checks, Google Sheets sync, lead enrichment, and real-time appointment availability.

What you'll learn

  • Recipe: Send high-urgency leads to Slack via Zapier
  • Recipe: AI-powered inventory checker
  • Recipe: Sync every lead to Google Sheets via Make
  • Recipe: Lead enrichment with n8n
  • Recipe: Real-time appointment availability
1

Recipe: Send high-urgency leads to Slack via Zapier

This recipe sends an instant Slack notification to your sales team whenever a high-urgency lead is captured. Setup: Create a new webhook using the Zapier template. Paste your Zapier Catch Hook URL (format: https://hooks.zapier.com/hooks/catch/YOUR_ID/YOUR_HOOK/). Enable the Lead Capture trigger and set the urgency filter to 'High' only โ€” this ensures only the most important leads trigger the notification. For the payload, use a minimal template with just the fields your sales team needs: lead name, email, urgency level, and conversation summary. On the Zapier side, create a Zap with 'Webhooks by Zapier' as the trigger (Catch Hook) and 'Slack' as the action. Configure the Slack action to post to your #sales-alerts channel with a formatted message. You can include emoji indicators for urgency and link directly to the lead in your Chattlebot dashboard. Test the full flow: send a test webhook from Chattlebot, verify it arrives in Zapier, then check that the Slack message appears in your channel. Once confirmed, activate the Zap and enable the webhook.

Recipe: Slack Alerts via Zapier

TemplateZapier
TriggerLead Capture
Urgency filterHigh only

FLOW

High-urgency lead captured
Chattlebot sends webhook to Zapier
Zapier posts to #sales-alerts

{

"name": "{{lead.name}}",

"email": "{{lead.email}}",

"urgency": "{{lead.urgency}}",

"summary": "{{conversation.summary}}"

}

Trigger settings with only High urgency selected
Slack message payload template with webhook variables
2

Recipe: AI-powered inventory checker

This recipe lets your chatbot check product availability in real time during a conversation. When a customer asks 'Do you have the blue widget in stock?', the AI calls your inventory API and answers immediately. Setup: Create a custom webhook pointing to your inventory API endpoint. Enable AI-Callable and set the tool name to 'check_inventory'. Write a clear description for the AI: 'Check whether a product is currently in stock and get its price. Call this when a customer asks about product availability, stock levels, or pricing.' Define one required parameter: product_name (string) โ€” the AI will extract this from the customer's message. Configure response mapping to extract $.available (boolean) and $.price (number) from the API response. Add a response filter: 'available' equals 'true' โ€” this ensures the AI only sees in-stock products. The AI will then present the available products with prices to the customer. If nothing matches the filter, the AI will let the customer know the product is currently out of stock. Set the timeout to 5โ€“8 seconds since inventory APIs should respond quickly.

Recipe: AI Inventory Checker

TemplateCustom Webhook
AI-CallableEnabled
Tool namecheck_inventory

PARAMETER

product_namestringrequired

Response Config

RESPONSE MAPPING

$.availableavailable
$.priceprice

RESPONSE FILTER

availableequalstrue
AI-callable inventory checker configuration
3

Recipe: Sync every lead to Google Sheets via Make

This recipe logs every captured lead to a Google Sheets spreadsheet automatically using Make (formerly Integromat). Setup: Create a new webhook using the Make template. Paste your Make webhook URL (format: https://hook.make.com/YOUR_WEBHOOK_ID). Enable the Lead Capture trigger with no urgency filter โ€” you want every lead logged regardless of urgency. Use the default payload template which includes all available lead, conversation, and context data. In Make, create a new scenario with the 'Custom Webhook' module as the trigger. After receiving the first test webhook, click 'Re-determine data structure' to auto-detect all fields. Add a Google Sheets 'Add a Row' module and map the columns: A (Name) = lead.name, B (Email) = lead.email, C (Phone) = lead.phone, D (Urgency) = lead.urgency, E (Summary) = conversation.summary, F (Date) = timestamp. You can add more columns for any other payload fields you need. Activate the scenario in Make and enable the webhook in Chattlebot. Every new lead will appear as a new row in your spreadsheet within seconds.

Recipe: Google Sheets via Make

TemplateMake
TriggerLead Capture
Urgency filterAll urgencies
PayloadDefault (full)

MAKE SCENARIO

Webhook โ€” receive data

Webhooks

Parse JSON โ€” detect fields

JSON

Add row โ€” map to columns

Google Sheets

COLUMN MAPPING

A โ€” Name
B โ€” Email
C โ€” Phone
D โ€” Urgency
E โ€” Summary
F โ€” Date
Make template indicator for Google Sheets webhook
Trigger settings with all urgency levels selected
4

Recipe: Lead enrichment with n8n

This recipe enriches leads with company data using n8n, then uses that data in subsequent workflow steps for intelligent routing. Setup: Create a new webhook using the n8n template. This webhook is designed to be used as a workflow step (not a standalone trigger), so you'll reference it in your Chattlebot workflow as 'execute_webhook:{webhookId}'. In n8n, build a workflow that receives the lead email, calls an enrichment API (like Clearbit or Apollo), and returns company data. Configure response mapping in Chattlebot to extract the fields you need: $.company.name โ†’ company_name, $.company.revenue โ†’ revenue, $.company.employees โ†’ employee_count. These become available in subsequent workflow steps with the webhook_' prefix: webhook_company_name, webhook_revenue, webhook_employee_count. Now build your routing logic: if webhook_revenue > $1M, route to Enterprise Sales; if webhook_employees < 50, route to SMB team; otherwise, route to general sales queue. This pattern turns a simple lead capture into an intelligent routing system that gets leads to the right salesperson immediately.

Recipe: Lead Enrichment via n8n

Templaten8n
Used inWorkflow step

Response Mapping

$.company.namewebhook_company"Acme Corp"
$.company.revenuewebhook_revenue"$2.4M"
$.company.employeeswebhook_employees150

WORKFLOW STEPS

1execute_webhook:enrich_lead
2If webhook_revenue > $1M
3โ†’ Route to Enterprise Sales
Response mapping for lead enrichment webhook
5

Recipe: Real-time appointment availability

This recipe connects your chatbot to a scheduling API (like Calendly or Cal.com) so the AI can check available appointment slots in real time. When a customer asks about booking, the AI fetches live availability and presents the options. Setup: Create a custom webhook pointing to your scheduling API's availability endpoint. Enable AI-Callable and set the tool name to 'check_availability'. Write the AI description: 'Check available appointment slots for a specific date and service type. Call this when a customer wants to book an appointment, schedule a meeting, or asks about availability.' Define two required parameters: date (string, format: YYYY-MM-DD) and service_type (string, e.g., 'consultation', 'demo', 'support'). Configure a response filter to only show slots where 'available' equals 'true'. The AI will present the available times to the customer in a natural way: 'I have three openings next Friday: 9:00 AM, 11:30 AM, and 2:00 PM. Which works best for you?' For the best experience, keep your scheduling API's response time under 3 seconds. If the API is slow, consider caching availability data. Set the timeout to 10 seconds to handle occasional slow responses gracefully.

Recipe: Appointment Availability

TemplateCustom Webhook
AI-CallableEnabled
Tool namecheck_availability

PARAMETERS

datestringrequired"2025-03-15"
service_typestringrequired"consultation"

CHAT EXAMPLE

Do you have any openings for a consultation next Friday?

Calling check_availability(date: "2025-03-21", service_type: "consultation")

Yes! Here are the available slots for next Friday:

9:00 AM
11:30 AM
2:00 PM
AI-callable appointment checker configuration
Response mapping for appointment availability data

๐Ÿ’กPro Tip

  • These recipes are starting points โ€” customize the payload, triggers, and response mappings to match your specific tools and business logic. The best automations are the ones that perfectly fit your workflow.

Related Guides

Ready to get started?

Create your free account and start building your chatbot today.

Start Free Trial