AACFlow

WhatsApp

Send WhatsApp messages

Usage Instructions

Integrate WhatsApp into the workflow. Send messages, templates, media, locations, contacts, interactive messages. Manage read receipts, templates, and media uploads.

Tools

whatsapp_send_message

Input

ParameterTypeRequiredDescription
phoneNumberstringYesNo description
messagestringYesNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanWhatsApp message send success status
messageIdstringUnique WhatsApp message identifier
phoneNumberstringRecipient phone number
statusstringMessage delivery status
timestampstringMessage send timestamp

whatsapp_send_template

Input

ParameterTypeRequiredDescription
tostringYesNo description
templateNamestringYesNo description
languageCodestringYesNo description
componentsjsonNoNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanTemplate message send success status
messageIdstringUnique WhatsApp message identifier
statusstringMessage delivery status
timestampstringMessage send timestamp

whatsapp_send_media

Input

ParameterTypeRequiredDescription
tostringYesNo description
mediaTypestringYesNo description
mediaUrlstringNoNo description
mediaIdstringNoNo description
captionstringNoNo description
filenamestringNoNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanMedia message send success status
messageIdstringUnique WhatsApp message identifier
statusstringMessage delivery status
timestampstringMessage send timestamp

whatsapp_send_location

Input

ParameterTypeRequiredDescription
tostringYesNo description
latitudenumberYesNo description
longitudenumberYesNo description
namestringNoNo description
addressstringNoNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanLocation message send success status
messageIdstringUnique WhatsApp message identifier
statusstringMessage delivery status
timestampstringMessage send timestamp

whatsapp_send_contacts

Input

ParameterTypeRequiredDescription
tostringYesNo description
contactsjsonYesNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanContacts message send success status
messageIdstringUnique WhatsApp message identifier
statusstringMessage delivery status
timestampstringMessage send timestamp

whatsapp_send_interactive

Input

ParameterTypeRequiredDescription
tostringYesNo description
interactiveTypestringYesNo description
bodystringYesNo description
actionjsonYesNo description
headerstringNoNo description
footerstringNoNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanInteractive message send success status
messageIdstringUnique WhatsApp message identifier
statusstringMessage delivery status
timestampstringMessage send timestamp

whatsapp_mark_as_read

Input

ParameterTypeRequiredDescription
messageIdstringYesNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanMark as read success status
messageIdstringThe ID of the message marked as read
timestampstringWhen the message was marked as read

whatsapp_get_templates

Input

ParameterTypeRequiredDescription
businessAccountIdstringYesNo description
limitnumberNoNo description
offsetnumberNoNo description
statusstringNoNo description
languagestringNoNo description

Output

ParameterTypeDescription
successbooleanTemplates fetch success status
templatesjsonArray of WhatsApp message templates
pagingjsonPagination cursors for next/previous pages
totalnumberTotal number of templates returned

whatsapp_upload_media

Input

ParameterTypeRequiredDescription
fileUrlstringYesNo description
mediaTypestringNoNo description
phoneNumberIdstringYesNo description

Output

ParameterTypeDescription
successbooleanMedia upload success status
mediaIdstringUploaded media ID for use in send_media
mediaUrlstringURL of the uploaded media
mimeTypestringMIME type of the uploaded file
fileSizenumberFile size in bytes
sha256stringSHA-256 hash of the uploaded file

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started