Apps/Whatsapp Business Cloud API/Instantly when receiving a text message
Whatsapp Business Cloud API
Whatsapp Business Cloud API Trigger

Instantly when receiving a text message

It is triggered every time a user sends a text mmessage to the bot.

200+ apps to connectΒ·Tested & maintained tasksΒ·Human support in English & Spanish

In detail

What it does and what it's for

This integration allows you to automate tasks in real-time whenever your WhatsApp bot receives a text message. Upon receiving a message, the configured actions are automatically triggered, optimizing your interaction with users.

When executed, this operation provides key data such as the sender's phone number, their name, the message ID, and the message content, which you can use in your automations to personalize responses and enhance the user experience.

How it works

How it fits in an automated task

A Botize task pairs a trigger with one or more actions. This piece is one of them.

This is the trigger

Every time this event happens, the task kicks off on its own. You don't have to do anything.

Add one or more actions

What should happen next, in this app or in any of the 200+ connectable apps.

Turn it on and forget it

The task runs on its own from then on. If something's off, tweak it or we'll help you.

Already using Botize?

Connect your Whatsapp Business Cloud API

Add a profile to use it in your tasks. There's a step-by-step guide if you need it.

Add a new profile Step-by-step guide

Your profiles

Your connected Whatsapp Business Cloud API accounts

These are the accounts you already have linked to Botize, ready to use in your tasks. You can reconnect or remove any of them.

Setup

Customization options

Fields you can adjust when using it in your automation.

Output data

Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • From Phone Number or User Id {{from_number}}

  • From User Name {{from_name}}

  • Message Id {{message_id}}

  • Message {{message_text}}

  • User Id {{user_id}}

Learn by watching

Video tutorials

Short videos where you watch a real task being built from start to finish.

Get inspired

Ready-to-use automations

Real tasks built with Whatsapp Business Cloud API: switch them on in minutes and tweak them to your liking.

  • type
  • whatsapp_cloud_api β†’ webhook_message
  • chatgpt β†’ completion_attach_file
  • whatsapp_cloud_api β†’ post_message
WhatsApp Bot to answer users' questions and inquiries about your services, commerce, or company based on the information provided in a text document
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • chatgpt β†’ send_prompt
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot that responds to user messages using ChatGPT
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • btzfilters β†’ process
  • whatsapp_cloud_api β†’ post_message
WhatsApp Bot example to respond only to phone numbers authorized by you
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • gcalendar β†’ search_available_slots
  • whatsapp_cloud_api β†’ ask
  • gcalendar β†’ search_available_slots
  • whatsapp_cloud_api β†’ ask
  • gcalendar β†’ create_event
  • whatsapp_cloud_api β†’ post_message
WhatsApp Bot for Appointment Booking with Google Calendar
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • gspreadsheet β†’ count_rows_by_column
  • whatsapp_cloud_api β†’ post_message
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot that checks if the phone number of the user who is writing to it appears on a Google Sheets document
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask_location
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot. Request location from each user who messages it
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • btzfilters β†’ process
  • plugin_delay β†’ start_task_by_id
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot that activates a specific automated task when you send the word "start"
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • telegrambot β†’ send_message_photo
Each new text message that a WhatsApp bot receives is posted in a Telegram chat
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot that replies with 3 buttons and shows the user the option they selected
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ post_message
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot that replies with 2 buttons and shows a personalized message based on the one selected
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ post_message
Automatic welcome and data collection via WhatsApp
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • gspreadsheet β†’ add_row_to_end
Save every new message received on WhatsApp to Google Sheets
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • gemini β†’ send_prompt
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot that replies to user messages using Gemini
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • btzloop β†’ repeater
  • chatgpt β†’ completion_as_data
  • btzflow β†’ get_flow_next_step
  • collect_list β†’ collect
  • whatsapp_cloud_api β†’ post_message
WhatsApp Legal & Real Estate Lead Qualifier
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ post_message
  • whatsapp_cloud_api β†’ post_message
  • whatsapp_cloud_api β†’ post_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ ask
WhatsApp bot with menu and option selection
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ post_message
  • whatsapp_cloud_api β†’ post_message
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot with a 3-option menu and a custom response message for each option
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • chatgpt β†’ send_prompt
  • whatsapp_cloud_api β†’ post_message
  • amazon_associates β†’ get_page_results_by_keyword
  • whatsapp_cloud_api β†’ post_message
Search Amazon for products related to the WhatsApp message and reply with up to 10 products
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • btzloop β†’ repeater
  • chatgpt β†’ completion_as_data
  • btzflow β†’ get_flow_next_step
  • collect_list β†’ collect
  • whatsapp_cloud_api β†’ post_message
WhatsApp Welcome Flow with Business Sector and Consumption Survey
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • gspreadsheet β†’ read_by_column
  • whatsapp_cloud_api β†’ post_message
  • btzfilters β†’ process
  • whatsapp_cloud_api β†’ ask
  • gspreadsheet β†’ update_row_by_number
  • whatsapp_cloud_api β†’ post_message
Customer Verification and Data Collection via WhatsApp
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ post_message
  • gspreadsheet β†’ add_row_to_end
WhatsApp question with options and automatic logging to Google Sheets
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ post_message
  • gspreadsheet β†’ add_row_to_end
WhatsApp bot that asks the user for their age and email and saves it to Google Sheets
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot that replies with a specific message every time it receives a message
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • chatgpt β†’ completion_as_data
  • gspreadsheet β†’ add_row_to_end
  • whatsapp_cloud_api β†’ post_message
WhatsApp assistant for order logging in Google Sheets and product inquiries
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • gcalendar β†’ search_available_slots
  • whatsapp_cloud_api β†’ ask
  • gcalendar β†’ search_available_slots
  • whatsapp_cloud_api β†’ ask
  • whatsapp_cloud_api β†’ ask
  • gspreadsheet β†’ add_row_to_end
  • gcalendar β†’ create_event
  • whatsapp_cloud_api β†’ post_message
WhatsApp bot for appointment booking with Google Calendar and logging in Google Sheets
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • chatgpt β†’ send_prompt
  • whatsapp_cloud_api β†’ ask
WhatsApp bot that replies using ChatGPT based on custom instructions
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • chatgpt β†’ send_prompt
  • whatsapp_cloud_api β†’ post_message
  • gspreadsheet β†’ add_row_to_end
Telegram bot with ChatGPT that automatically saves conversations to Google Sheets
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • btzfilters β†’ process
  • whatsapp_cloud_api β†’ post_message
Send an automatic reply on WhatsApp if the message contains a specific word
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • btzfilters β†’ process
  • gspreadsheet β†’ add_row_to_end
  • whatsapp_cloud_api β†’ post_message
Save WhatsApp messages from a specific contact to Google Sheets and send a confirmation reply
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • gspreadsheet β†’ add_row_to_end
  • whatsapp_cloud_api β†’ post_message
Save WhatsApp messages to Google Sheets and send a confirmation reply
  • type
  • whatsapp_cloud_api β†’ webhook_message
  • 365excel β†’ add_row_to_end
  • whatsapp_cloud_api β†’ post_message
Save WhatsApp messages to Office 365 Excel and send a confirmation reply

Frequently Asked Questions


Facebook shows the error 'You must provide a valid privacy policy URL to publish your app'

This error occurs when attempting to change the WhatsApp application from 'Development' mode to 'Live' mode in your Facebook panel (https://developers.facebook.com).

Before Facebook allows this change, you must first go to the 'Basic Settings' section on Facebook and provide the URL for the web page where your privacy policy is located.

You must have a web page with a privacy policy section in order for Facebook to accept the transition to 'Live' mode.

Facebook shows the error 'Invalid privacy policy URL'

This error means that the privacy policy URL that you have provided in Facebook, within the basic settings of the WhatsApp Business application, is not valid.

This is a requirement of WhatsApp to ensure that users of your bot have access to your company's privacy policy and can consult it before using it.

As a result, the application that you have created on Facebook to access the WhatsApp Cloud Business API cannot be activated, remaining in 'developer' mode, which prevents your bot from receiving messages from other users and processing them.

To solve this problem, you must indicate in Facebook, within the 'Basic Configuration' section of your application, the URL of your business website corresponding to the section or subsection where the privacy policy is explained.

What does the 'Recipient phone number not in allowed list' error mean?

This error indicates that the phone number to which the bot is trying to send a message is not on the authorized recipients list on Facebook.

To fix this, you need to add the recipient's phone number to the authorized recipients list from the WhatsApp Cloud API settings section on Facebook.

To avoid having to add phone numbers in advance, put your Facebook application in 'Live' mode on the Facebook Developer Console, from https://developers.facebook.com.

How does the billing system for conversations on WhatsApp Cloud Business work?

WhatsApp Cloud Business bills each conversation between a bot and a user according to the corresponding category. The categories that WhatsApp currently handles are: utility conversations, authentication conversations, marketing conversations, and service conversations.

Rates may vary depending on the country where the service is being used. For up-to-date information on conversation categories and rates, it is recommended to visit the official Facebook pricing page.

Common Errors


This task requires you to send a text message to your bot

To start this specific automation, you need to open WhatsApp, search for your bot in your contacts, and send it a text message.

Need a hand?

Real people behind it

Email us

info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Message us on Telegram

t.me/botize
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Come with an idea.
Leave with an automation.

Create your first task in minutes. Do it once and forget about it forever.

Start automating