Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation sends a contact card message via the WARest WhatsApp REST API. It allows users to specify a WhatsApp session, recipient(s), and contact details such as name, full name, phone number, organization, and email. Additional options include sending typing indicators, replying to a specific message, and marking the message as forwarded. This node is useful for automating the sharing of contact information in WhatsApp conversations, such as sending business cards or personal contact details programmatically.
Use Case Examples
- Automatically send a contact card to a customer after a support interaction.
- Share a team member's contact details in a group chat when a new project starts.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session ID to use for sending the contact message. Can be selected from a list or entered manually. |
| Recipient / Chat (to) | The phone number(s) or chat JID(s) to which the contact card will be sent. Multiple recipients can be comma separated. |
| Contact | The contact details to send, including name, full name, phone number, organization, and email. |
| Additional Fields | Optional settings such as sending typing indicators before the message, replying to a specific message ID, and marking the message as forwarded. |
Output
JSON
json- The JSON response from the WARest API after sending the contact message, containing details about the sent message.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and active; otherwise, the API call will fail.
- Verify the recipient phone number or chat JID is correctly formatted and reachable on WhatsApp.
- If sending a reply, ensure the replyMessageId corresponds to a valid message in the chat.
- Check that the contact fields contain valid and properly formatted data to avoid API errors.
Links
- WARest API Documentation - Official documentation for the WARest WhatsApp REST API, including message sending endpoints.
