Skip to content
MORNINGMETHOD
WhatsApp TriggerDownload ImageAnalyze ImageDownload AudioTranscribe AudioOpenAI Chat ModelAI Agent1Download FileExtract from FileSimple MemoryGet File UrlOnly PDF FileFix mimeType for …Send messageSend audioIncorrect formatTextAudioImageFileNot supportedGet Image UrlGet Audio UrlGenerate Audio Re…From audio to aud…Input type
The workflow you get26 nodes
  • n8n
  • Whats App
  • HTTP Request
  • OpenAI
  • AI Agent
  • WhatsApp

AI WhatsApp Chatbot for Text, Voice, Images & PDFs

Customers send text, voice notes, photos or PDFs on WhatsApp, and the AI replies.

Best for: Indian businesses answering customers on WhatsApp

$19.00Regular price $49.0061% off
  • Card or PayPal
  • Instant download
  • Setup guide included
Delivery
Download after payment
Format
n8n workflow + guide (ZIP)
Access
Re-download any time

Setup

What you need, and how to set it up

It starts by itself when you send a WhatsApp message to your business number. No code needed. Follow the steps in order.

What you need

  • An n8n account

    The app that runs the automation.

    Free to self-host, or a free trial on n8n Cloud.

  • WhatsApp Business (Meta)Free to start

    Lets n8n hear new WhatsApp messages.

    Get it: Use the same Meta developer app, and copy its app ID and app secret. Show me how to connect WhatsApp Business (Meta) (opens n8n docs)

    Used by: WhatsApp Trigger, Get File Url, Send message, Send audio, Incorrect format, Not supported, Get Image Url, Get Audio Url

  • API key for a web service

    A secret password for the website this workflow talks to.

    Get it: Sign up on that service, find its API key page and copy the key. The node name tells you which service. Show me how to connect API key for a web service (opens n8n docs)

    Used by: Download Image, Download Audio, Download File

  • OpenAI API keyPay as you go, usually a few cents a day

    A secret password that lets n8n use ChatGPT's brain.

    Get it: Go to platform.openai.com, open API keys, and click Create new secret key. Copy it. Show me how to connect OpenAI API key (opens n8n docs)

    Used by: Analyze Image, Transcribe Audio, OpenAI Chat Model, Generate Audio Response

Setup in 6 easy steps

  1. Step 1: Get n8n

    n8n is the app that runs your automation. Make a free account at n8n.io. That is the easy way. You can also put it on your own computer for free.

  2. Step 2: Download your file

    After you pay, open My downloads and download the ZIP. Double-click it to open it. Inside is a file called workflow.json.

  3. Step 3: Put it in n8n

    In n8n, click Create workflow. Click the three dots (⋯) at the top, then Import from file, and pick workflow.json. Now you see the same boxes as in the picture above.

  4. Step 4: Connect your accounts

    Some boxes show a little red triangle. That means they need a key. Click the box, click Create new credential, and paste the key from your list. Do this for each red box.

  5. Step 5: Try it once

    Click Test workflow, then send a WhatsApp message to your business number. Green ticks on the boxes mean it worked.

  6. Step 6: Turn it on

    Click Save. Then flip the switch at the top from Inactive to Active. Now it works by itself, even while you sleep.

Stuck? Email support@morningmethod.co and we will help you.

Category: Automations › WhatsApp, SMS & Messaging · Best for: Indian businesses answering customers on WhatsApp · Platform: n8n · Steps: 26

What it does

Customers send text, voice notes, photos or PDFs on WhatsApp, and the AI replies.

  • Access to Meta's Graph API Explorer or Meta for Developers portal

Works with: WhatsApp, OpenAI, Memory Buffer Window, Agent

What you get

  • The n8n workflow file (workflow.json), ready to import
  • This setup guide
  • The list of fields to change for your own accounts (see Install below)
  • Email support if you get stuck

Before you start

  1. An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker: docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678.

  2. Accounts and API keys for these services:

    • WhatsApp Business Cloud API (Meta): how to connect (used by WhatsApp Trigger, Get File Url, Send message, Send audio, Incorrect format, Not supported, Get Image Url, Get Audio Url)
    • API key sent as an HTTP header (see the node for which service): how to connect (used by Download Image, Download Audio, Download File)
    • OpenAI API key: how to connect (used by Analyze Image, Transcribe Audio, OpenAI Chat Model, Generate Audio Response)

Install

  1. In n8n, click Create workflow (top right).
  2. Click the ⋯ menu → Import from file and choose workflow.json. Or open the file, copy everything and paste it onto the empty canvas with Ctrl/Cmd + V.
  3. Open each node with a red warning triangle and pick or create the matching credential from the list above.
  4. Point these fields at your own sheets, chats and accounts:
    • Send message → phoneNumberId: choose your own
    • Send message → recipientPhoneNumber: choose your own
    • Send audio → phoneNumberId: choose your own
    • Send audio → recipientPhoneNumber: choose your own
    • Incorrect format → phoneNumberId: choose your own
    • Incorrect format → recipientPhoneNumber: choose your own
    • Not supported → phoneNumberId: choose your own
    • Not supported → recipientPhoneNumber: choose your own
  5. Click Save.

Test it

  1. Click Test workflow (or Execute workflow). WhatsApp Trigger starts it. Trigger it once with real sample data.
  2. Click each node to check its output. A green tick means the step worked.
  3. Fix any red node: it's almost always a credential or a field that still points at a sheet or chat that isn't yours.

Go live

Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.

How it works, step by step

  1. WhatsApp Trigger starts the workflow (WhatsApp).
  2. OpenAI Chat Model uses AI (OpenAI).
  3. Simple Memory uses AI (Memory Buffer Window).
  4. Input type checks a condition and routes items accordingly.
  5. AI Agent1 uses AI (Agent).
  6. Text reshapes the data for the next step.
  7. Get Audio Url uses WhatsApp to media mediaUrlGet.
  8. Get Image Url uses WhatsApp to media mediaUrlGet.
  9. Only PDF File checks a condition and routes items accordingly.
  10. Not supported uses WhatsApp to send.
  11. From audio to audio? checks a condition and routes items accordingly.
  12. Download Audio calls an external API (={{ $json.url }}).
  13. Download Image calls an external API (={{ $json.url }}).
  14. Get File Url uses WhatsApp to media mediaUrlGet.
  15. Incorrect format uses WhatsApp to send.
  16. Generate Audio Response uses AI (OpenAI).
  17. Send message uses WhatsApp to send.
  18. Transcribe Audio uses AI (OpenAI).
  19. Analyze Image uses AI (OpenAI).
  20. Download File calls an external API (={{ $json.url }}).
  21. Fix mimeType for Audio reshapes the data for the next step.
  22. Audio reshapes the data for the next step.
  23. Image reshapes the data for the next step.
  24. Extract from File uses Extract From File to pdf.
  25. Send audio uses WhatsApp to send.
  26. File reshapes the data for the next step.

India & US notes

India: use the official WhatsApp Business Cloud API from Meta (free to start, pay per conversation). Unofficial WhatsApp tools can get your number banned. US: the same API works; SMS via Twilio is a good fallback.

Extra setup notes

These notes are also on the canvas as yellow sticky notes:

Text

Voice

Image

Document

Response

How to obtain Whatsapp API?

Prerequisites

Before you begin, make sure you have:

  • A Meta Business Account
  • A Facebook Developer Account
  • A Verified Business
  • A Phone Number to link to WhatsApp
  • Access to Meta's Graph API Explorer or Meta for Developers portal

STEP 1: Create a Meta App

  1. Go to https://developers.facebook.com/apps
  2. Click “Create App”
  3. Choose "Business" as the app type, then click Next
  4. Give your app a name and enter a contact email
  5. Choose your Business Account (or create one)
  6. Click Create App

STEP 2: Add WhatsApp Product

  1. In your app dashboard, scroll down to "Add a Product"
  2. Find "WhatsApp" and click “Set Up”
  3. Link your Business Manager Account

STEP 3: Create a WhatsApp Business Account (if needed)

  1. If you haven’t already, go to https://business.facebook.com/
  2. Click “Create Account”, and complete your business information
  3. Go to Business Settings > Accounts > WhatsApp Accounts
  4. Add a Phone Number (you'll receive a verification code)

STEP 4: Generate a Temporary Access Token (for development)

  1. In the App Dashboard, go to WhatsApp > Getting Started
  2. Choose your test phone number
  3. Copy the temporary access token (valid for 24 hours)
  4. Copy the Phone Number ID and WhatsApp Business Account ID

Save these 3 values:

  • Access Token
  • Phone Number ID
  • WABA ID

Tip: For production, you will later need to create a permanent token (see step 7).


STEP 5: Set Up a Webhook URL (n8n)

  1. In n8n, set up a Webhook node (or use the WhatsApp Trigger node)
  2. Copy the webhook URL
  3. In the Meta Developer Dashboard:
    • Go to WhatsApp > Configuration
    • Click “Edit Callback URL”
    • Paste your n8n webhook URL and add a random verify token
  4. In n8n, configure your webhook to respond to the verification request

  1. Still under WhatsApp > Configuration, click "Manage Subscriptions"
  2. Enable:
    • messages
    • message_status
    • (Optionally message_template_status_update)

STEP 7: (Optional but recommended) Generate a Permanent Token

  1. Go to https://developers.facebook.com/tools/access_token/
  2. Select your app
  3. Click Get Token > System User Token
  4. Select the permissions:
    • whatsapp_business_management
    • whatsapp_business_messaging
    • business_management
  5. Click Generate Token
  6. Copy and securely store this token

STEP 8: Configure Credentials in n8n

  1. Go to n8n > Settings > Credentials
  2. Create new credentials of type HTTP Header Auth
    • Name: WhatsApp
    • Header Name: Authorization
    • Value: Bearer <your_access_token>
  3. Save

Then, in your workflows:

  • Use the HTTP Request node or WhatsApp node
  • Set the phone_number_id in the node parameters
  • Connect it to your WhatsApp credential

STEP 9: Test the Connection

  1. Use a WhatsApp number to send a message to your business phone
  2. Your n8n workflow should be triggered
  3. You can now send and receive messages programmatically

Troubleshooting

  • "Credentials not found": open the node and select your credential again.
  • Google "access blocked": in Google Cloud, add your email as a test user on the OAuth consent screen.
  • Webhook not firing: copy the node's Production URL (not Test URL) into the other app, and make sure the workflow is Active.
  • AI node errors: check your API key has billing enabled and the model name exists on your plan.
  • Nothing happens on schedule: the workflow must be Active, and self-hosted n8n must stay running.

Need help?

Reply to your Morning Method order email and we'll help you get it running.


© Morning Method

$19.00Regular price $49.0061% off
AI WhatsApp Chatbot for Text, Voice, Images & PDFs | n8n Automation | Morning Method