whatsappEnables interaction with customers through the WhatsApp Business API for messaging and automation. Only supports WhatsApp Business accounts, not WhatsApp Personal accounts.
Acciones disponibles (19)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create message templateWHATSAPP_CREATE_MESSAGE_TEMPLATEAcciónCreate a new message template for the whatsapp business account. templates must be approved by whatsapp before they can be used. templates are required for marketing messages and messages sent outside the 24-hour window.
WHATSAPP_CREATE_MESSAGE_TEMPLATEAcciónCreate a new message template for the whatsapp business account. templates must be approved by whatsapp before they can be used. templates are required for marketing messages and messages sent outside the 24-hour window.
Parámetros de entrada
namestringObligatorioTemplate name (lowercase, alphanumeric, underscores, max 512 characters).
categorystringObligatorioenumTemplate category: AUTHENTICATION, MARKETING, or UTILITY.
AUTHENTICATIONMARKETINGUTILITYlanguagestringObligatorioLanguage code (e.g., 'en_US', 'es_ES').
componentsobject[]ObligatorioTemplate components (header, body, footer, buttons).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete message templateWHATSAPP_DELETE_MESSAGE_TEMPLATEAcciónDelete a message template from the whatsapp business account. this permanently removes the template and it cannot be recovered. only delete templates that are no longer needed.
WHATSAPP_DELETE_MESSAGE_TEMPLATEAcciónDelete a message template from the whatsapp business account. this permanently removes the template and it cannot be recovered. only delete templates that are no longer needed.
Parámetros de entrada
template_idstringObligatorioThe ID of the template to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get business profileWHATSAPP_GET_BUSINESS_PROFILEAcciónGet the business profile information for a whatsapp business phone number. this includes business details like description, address, website, and contact info.
WHATSAPP_GET_BUSINESS_PROFILEAcciónGet the business profile information for a whatsapp business phone number. this includes business details like description, address, website, and contact info.
Parámetros de entrada
fieldsstringComma-separated list of fields to retrieve. Default includes all available fields.
phone_number_idstringObligatorioThe phone number ID to get the business profile for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get mediaWHATSAPP_GET_MEDIAAcciónGet information about uploaded media including a temporary download url. the download url is valid for 5 minutes and can be used to retrieve the actual media file. this is useful for downloading media that was sent to your whatsapp number.
WHATSAPP_GET_MEDIAAcciónGet information about uploaded media including a temporary download url. the download url is valid for 5 minutes and can be used to retrieve the actual media file. this is useful for downloading media that was sent to your whatsapp number.
Parámetros de entrada
media_idstringObligatorioThe media ID to retrieve information for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get media infoWHATSAPP_GET_MEDIA_INFOAcciónGet metadata about uploaded media without generating a download url. this is useful for checking file size, type, and hash without downloading the file. use get media if you need the actual download url.
WHATSAPP_GET_MEDIA_INFOAcciónGet metadata about uploaded media without generating a download url. this is useful for checking file size, type, and hash without downloading the file. use get media if you need the actual download url.
Parámetros de entrada
media_idstringObligatorioThe media ID to get information for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get message templatesWHATSAPP_GET_MESSAGE_TEMPLATESAcciónGet all message templates for the whatsapp business account. templates are required for sending messages outside the 24-hour window and for marketing/utility messages.
WHATSAPP_GET_MESSAGE_TEMPLATESAcciónGet all message templates for the whatsapp business account. templates are required for sending messages outside the 24-hour window and for marketing/utility messages.
Parámetros de entrada
afterstringCursor for pagination to get templates after this cursor.
limitintegerThe maximum number of templates to retrieve. Default is 25.
statusstringFilter by template status: APPROVED, PENDING, REJECTED, DISABLED, PAUSED, LIMIT_EXCEEDED.
categorystringFilter by template category: AUTHENTICATION, MARKETING, UTILITY.
languagestringFilter by language code (e.g., 'en_US', 'es_ES').
name_or_contentstringFilter templates by name or content substring.
Parámetros de salida
dataobject[]List of message templates.
errorstringError if any occurred during the execution of the action
pagingobjectPaging information for pagination.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get phone numberWHATSAPP_GET_PHONE_NUMBERAcciónGet details of a specific phone number associated with a whatsapp business account.
WHATSAPP_GET_PHONE_NUMBERAcciónGet details of a specific phone number associated with a whatsapp business account.
Parámetros de entrada
fieldsstringComma-separated list of fields to retrieve. Default includes all available fields.
phone_number_idstringObligatorioThe phone number ID to get details for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get phone numbersWHATSAPP_GET_PHONE_NUMBERSAcciónGet all phone numbers associated with a whatsapp business account (waba).
WHATSAPP_GET_PHONE_NUMBERSAcciónGet all phone numbers associated with a whatsapp business account (waba).
Parámetros de entrada
limitintegerThe maximum number of phone numbers to retrieve. Default is 25.
Parámetros de salida
dataobject[]List of phone numbers associated with the WABA.
errorstringError if any occurred during the execution of the action
pagingobjectPaging information for pagination.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get template statusWHATSAPP_GET_TEMPLATE_STATUSAcciónGet the status and details of a specific message template. this is useful for checking if a template has been approved, rejected, or is still pending review.
WHATSAPP_GET_TEMPLATE_STATUSAcciónGet the status and details of a specific message template. this is useful for checking if a template has been approved, rejected, or is still pending review.
Parámetros de entrada
fieldsstringComma-separated list of fields to retrieve.
template_idstringObligatorioThe ID of the template to check the status for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send contactsWHATSAPP_SEND_CONTACTSAcciónSend contacts whatsapp number. note: the message will be delivered to the recipient only if they have initiated a conversation first.
WHATSAPP_SEND_CONTACTSAcciónSend contacts whatsapp number. note: the message will be delivered to the recipient only if they have initiated a conversation first.
Parámetros de entrada
contactsobject[]ObligatorioList of contacts to send. Sample input: [ { 'addresses': [ { 'city': 'city name', 'country': 'country name', 'country_code': 'code', 'state': "Contact's State", 'street': "Contact's Street", 'type': "Contact's Address Type", 'zip': "Contact's Zip Code" } ], 'birthday': 'birthday', 'emails': [ {'email': 'email', 'type': 'HOME'}, {'email': 'email', 'type': 'WORK'} ], 'name': { 'first_name': 'first name value', 'formatted_name': 'formatted name value', 'last_name': 'last name value', 'suffix': 'suffix value' }, 'org': { 'company': 'company name', 'department': 'dep name', 'title': 'title' }, 'phones': [ {'phone': 'Phone number', 'wa_id': 'WA-ID value', 'type': 'MAIN'}, {'phone': 'Phone number', 'type': 'HOME'}, {'phone': 'Phone number', 'type': 'WORK'} ], } ]
to_numberstringObligatorioThe phone number to send the contacts to, including the country code without the + sign.
phone_number_idstringObligatorioThe phone number ID from which to send the contacts.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send interactive buttonsWHATSAPP_SEND_INTERACTIVE_BUTTONSAcciónSend an interactive button message to a whatsapp number. button messages allow users to quickly respond by tapping up to 3 predefined buttons. perfect for yes/no questions, quick choices, or call-to-action scenarios. note: the message will be delivered to the recipient only if they have texted first.
WHATSAPP_SEND_INTERACTIVE_BUTTONSAcciónSend an interactive button message to a whatsapp number. button messages allow users to quickly respond by tapping up to 3 predefined buttons. perfect for yes/no questions, quick choices, or call-to-action scenarios. note: the message will be delivered to the recipient only if they have texted first.
Parámetros de entrada
buttonsobject[]ObligatorioList of buttons (maximum 3 buttons).
body_textstringObligatorioBody text for the button message (up to 1024 characters).
to_numberstringObligatorioThe phone number to send the button message to, including the country code without the + sign.
footer_textstringFooter text for the button message (up to 60 characters).
header_textstringHeader text for the button message (up to 60 characters).
phone_number_idstringObligatorioThe phone number ID from which to send the button message.
reply_to_message_idstringThe ID of the message to reply to (optional).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send interactive listWHATSAPP_SEND_INTERACTIVE_LISTAcciónSend an interactive list message to a whatsapp number. list messages allow users to select from up to 10 options in a structured format. great for menus, catalogs, or choices. note: the message will be delivered to the recipient only if they have texted first.
WHATSAPP_SEND_INTERACTIVE_LISTAcciónSend an interactive list message to a whatsapp number. list messages allow users to select from up to 10 options in a structured format. great for menus, catalogs, or choices. note: the message will be delivered to the recipient only if they have texted first.
Parámetros de entrada
sectionsobject[]ObligatorioSections containing list items (maximum 10 sections).
body_textstringObligatorioBody text for the list message (up to 1024 characters).
to_numberstringObligatorioThe phone number to send the list message to, including the country code without the + sign.
button_textstringObligatorioText for the list button (up to 20 characters).
footer_textstringFooter text for the list message (up to 60 characters).
header_textstringHeader text for the list message (up to 60 characters).
phone_number_idstringObligatorioThe phone number ID from which to send the list message.
reply_to_message_idstringThe ID of the message to reply to (optional).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send locationWHATSAPP_SEND_LOCATIONAcciónSend a location message to a whatsapp number. note: the location will be shared with the recipient only if they have texted first.
WHATSAPP_SEND_LOCATIONAcciónSend a location message to a whatsapp number. note: the location will be shared with the recipient only if they have texted first.
Parámetros de entrada
namestringObligatorioThe name associated with the location to be sent.
addressstringObligatorioThe address of the location to be sent.
latitudestringObligatorioThe latitude of the location to be sent.
longitudestringObligatorioThe longitude of the location to be sent.
to_numberstringObligatorioThe phone number to send the location to, including the country code without the + sign.
phone_number_idstringObligatorioThe phone number ID from which to send the location.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send mediaWHATSAPP_SEND_MEDIAAcciónSend a media message to a whatsapp number. note: the media will be delivered to the recipient only if they have texted first.
WHATSAPP_SEND_MEDIAAcciónSend a media message to a whatsapp number. note: the media will be delivered to the recipient only if they have texted first.
Parámetros de entrada
linkstringObligatorioThe URL link to the media file to send.
captionstringThe caption to accompany the media, if applicable.
to_numberstringObligatorioThe phone number to send the media to, including the country code without the + sign.
media_typestringObligatorioenumThe type of media to send, such as audio, document, image, sticker, or video.
audiodocumentimagestickervideophone_number_idstringObligatorioThe phone number ID from which to send the media.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send media byWHATSAPP_SEND_MEDIA_BY_IDAcciónSend media using a media id from previously uploaded media. this is more efficient than sending media by url as the media is already on whatsapp servers. use upload media action first to get the media id. note: the media will be delivered to the recipient only if they have texted first.
WHATSAPP_SEND_MEDIA_BY_IDAcciónSend media using a media id from previously uploaded media. this is more efficient than sending media by url as the media is already on whatsapp servers. use upload media action first to get the media id. note: the media will be delivered to the recipient only if they have texted first.
Parámetros de entrada
captionstringCaption for the media (not supported for audio and sticker).
filenamestringFilename for document media.
media_idstringObligatorioThe media ID from uploaded media (use upload_media action to get this ID).
to_numberstringObligatorioThe phone number to send the media to, including the country code without the + sign.
media_typestringObligatorioenumThe type of media to send: audio, document, image, sticker, or video.
audiodocumentimagestickervideophone_number_idstringObligatorioThe phone number ID from which to send the media.
reply_to_message_idstringThe ID of the message to reply to (optional).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send messageWHATSAPP_SEND_MESSAGEAcciónSend a text message to a whatsapp number. note: the message will reflect on the recipient's phone number only if they have texted first.
WHATSAPP_SEND_MESSAGEAcciónSend a text message to a whatsapp number. note: the message will reflect on the recipient's phone number only if they have texted first.
Parámetros de entrada
textstringObligatorioThe content of the message to be sent.
to_numberstringObligatorioThe phone number to send the message to, including the country code without the + sign.
message_idstringThe ID of the message to be referenced if the message is a reply.
preview_urlbooleanIndicates whether to include a preview of URLs in the message.
phone_number_idstringObligatorioThe phone number ID from which to send the message.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send replyWHATSAPP_SEND_REPLYAcciónSend a reply to a specific message in a whatsapp conversation. this creates a contextual reply that shows which message you're responding to. note: the reply will be delivered to the recipient only if they have texted first.
WHATSAPP_SEND_REPLYAcciónSend a reply to a specific message in a whatsapp conversation. this creates a contextual reply that shows which message you're responding to. note: the reply will be delivered to the recipient only if they have texted first.
Parámetros de entrada
textstringObligatorioThe content of the reply message to be sent.
to_numberstringObligatorioThe phone number to send the reply to, including the country code without the + sign.
preview_urlbooleanIndicates whether to include a preview of URLs in the message.
phone_number_idstringObligatorioThe phone number ID from which to send the reply.
reply_to_message_idstringObligatorioThe ID of the message you are replying to.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send template messageWHATSAPP_SEND_TEMPLATE_MESSAGEAcciónSend a template message to a whatsapp number.
WHATSAPP_SEND_TEMPLATE_MESSAGEAcciónSend a template message to a whatsapp number.
Parámetros de entrada
to_numberstringObligatorioThe phone number to send the template message to, including the country code without the + sign.
language_codestringenumThe language code for the template.
afsqarar_EGar_AEar_LBar_MAar_QAazbe_BYbnbn_IN+99template_namestringObligatorioThe name of the template to be sent.
phone_number_idstringObligatorioThe phone number ID from which to send the template message.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload mediaWHATSAPP_UPLOAD_MEDIAAcciónUpload media files (images, videos, audio, documents, stickers) to whatsapp servers. the uploaded media gets a media id that can be used in send media or other messaging actions. supported formats: - images: jpeg, png (max 5mb) - videos: mp4, 3gpp (max 16mb) - audio: aac, m4a, amr, mp3, ogg (max 16mb) - documents: pdf, doc, docx, ppt, pptx, xls, xlsx (max 100mb) - stickers: webp (max 500kb, 512x512 pixels)
WHATSAPP_UPLOAD_MEDIAAcciónUpload media files (images, videos, audio, documents, stickers) to whatsapp servers. the uploaded media gets a media id that can be used in send media or other messaging actions. supported formats: - images: jpeg, png (max 5mb) - videos: mp4, 3gpp (max 16mb) - audio: aac, m4a, amr, mp3, ogg (max 16mb) - documents: pdf, doc, docx, ppt, pptx, xls, xlsx (max 100mb) - stickers: webp (max 500kb, 512x512 pixels)
Parámetros de entrada
media_typestringObligatorioenumType of media being uploaded: image, video, audio, document, or sticker.
imagevideoaudiodocumentstickerfile_to_uploadobjectObligatorioMedia file to upload to WhatsApp (max 16MB for most types, 100MB for videos).
phone_number_idstringObligatorioThe phone number ID to upload media for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Triggers (1)
Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).
Message Status UpdatedWHATSAPP_MESSAGE_STATUS_UPDATED_TRIGGERTriggerTriggers when a WhatsApp message status changes.
IMPORTANT LIMITATION:
WhatsApp Cloud API does not provide a native polling endpoint for message status.
Status updates are ONLY delivered via webhooks in real-time. This trigger cannot
directly poll the WhatsApp API for status updates.
This trigger will return empty results as WhatsApp does not support this operation.
To track message status updates, you must:
1. Set up a webhook endpoint to receive status notifications from WhatsApp
2. Store the webhook data in your own database
3. Use a different mechanism to query your stored webhook data
For more information, see:
- https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks
WHATSAPP_MESSAGE_STATUS_UPDATED_TRIGGERTriggerTriggers when a WhatsApp message status changes. IMPORTANT LIMITATION: WhatsApp Cloud API does not provide a native polling endpoint for message status. Status updates are ONLY delivered via webhooks in real-time. This trigger cannot directly poll the WhatsApp API for status updates. This trigger will return empty results as WhatsApp does not support this operation. To track message status updates, you must: 1. Set up a webhook endpoint to receive status notifications from WhatsApp 2. Store the webhook data in your own database 3. Use a different mechanism to query your stored webhook data For more information, see: - https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
max_resultsintegerMaximum number of status updates to retrieve in each poll (1-100).
phone_number_idstringObligatorioThe Meta-assigned numeric ID for the WhatsApp Business phone number to monitor. This is NOT the actual phone number itself - it is a numeric ID (e.g., '712594308615206') assigned by Meta. Obtain it using WHATSAPP_GET_PHONE_NUMBERS action which returns the 'id' field for each phone number.
status_filterstringOptional: Filter by specific status. Valid values: 'sent', 'delivered', 'read', 'failed'. Leave empty to monitor all status changes.
Payload del evento
event_typestringType of event that occurred
phone_number_idstringObligatorioThe phone number ID that sent the message
status_updateobjectObligatorioThe message status update information
Instrucciones
**IMPORTANT: WhatsApp API Limitation** WhatsApp Cloud API does NOT provide an endpoint to poll for message status updates. Status updates are ONLY available via webhooks. **How Message Status Updates Work in WhatsApp:** 1. When you send a message, WhatsApp returns a message ID 2. As the message progresses through statuses (sent → delivered → read), WhatsApp sends status updates to your configured webhook endpoint 3. Statuses include: 'sent', 'delivered', 'read', 'failed' 4. There is NO API endpoint to retrieve these status updates via polling **To Track Message Status:** - Set up a webhook endpoint in your WhatsApp Business Account settings - Configure the webhook to receive "messages" events - Store incoming webhook data in your own database - Use your database to track message status changes **This Trigger:** This trigger documents the expected structure for message status updates but will return empty results since WhatsApp does not support polling for this data. **Alternative Solutions:** - Use WhatsApp's webhook system with your own storage layer - Implement a webhook receiver that stores status updates - Query your storage layer instead of the WhatsApp API For webhook documentation, visit: https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components