Actions64
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Chat → Send Presence
AI-generatedSummary
Send a typing or recording presence indicator to a WhatsApp contact for a specified duration.
Inputs
- instanceName (required) — The Aysali API instance to use (set up in the node credentials).
- remoteJid (required) — WhatsApp ID of the contact (e.g., 5511999999999@c.us).
- presence (required) — Presence state to send: 'composing' (Typing…) or 'recording' (Recording…).
- delay (required) — How long the presence stays active, in milliseconds (default 1200).
Output shape
The operation returns the raw response from the Evolution API request that sends the presence indicator. On success, this typically includes a status flag and any data returned by the endpoint. On error, an error object is thrown.
The presence indicator is shown to the contact for the duration specified by
delay, after which it automatically clears.
Examples
Example 1: Show a typing indicator while preparing a response.
Set presence to 'composing', delay to 3000 ms, and provide the target remoteJid.
Example 2: Indicate that you are recording a voice message.
Set presence to 'recording', delay to 5000 ms, and supply the contact JID.