Actions

closeChat
Programmatically mark a chat as closed by its chat_id.

custom_api_call
Make a custom API call to a specific endpoint

findChat
Look up a chat by parameters such as chat_id, phone, name, etc.

findMessage
Lookup a message by its WhatsApp message ID.

findMessageStatus
Lookup a message’s delivery status by message ID.

findUploadedFile
Locate an uploaded file by filename or identifier.

findWhatsappAccount
Search for a WhatsApp account (by phone or ID).

sendFileToExistingChat
Similar to above: send a file attachment to a chat using URL or file input and name.

sendMessageToExistingChat
Sends a text message in a chat identified by chat_id

sendMessageToNewChat
Create a new chat (new conversation) by specifying the WhatsApp account, phone number, and message.

sendUploadedFileToExistingChat
Send a file (media/attachment) to a chat, with metadata like file name, via existing chat.
Triggers

chatClosed
Fires when a chat is closed.

newOutgoingChat
Fires when a new outgoing chat is initiated.

newIncomingChat
Fires when a new incoming chat (i.e. from a user) is created.

newSentMessage
Fires when a message is sent (outgoing).

newReceivedMessage
Fires when a message is received (incoming).

newUploadedFile
Fires when a new file is uploaded in a chat.

newWhatsappAccount
Fires when a new WhatsApp account is added/registered.























