Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node checks if a contact exists based on a provided phone number within a specified session. It is useful for verifying the presence of a contact in a system before performing further actions, such as sending messages or updating contact details. For example, it can be used in customer support workflows to confirm if a customer's phone number is registered.
Use Case Examples
- Check if a phone number exists in the contact list before sending a promotional message.
- Verify contact existence during onboarding to avoid duplicate entries.
Properties
| Name | Meaning |
|---|---|
| Session | The session identifier used to scope the contact check. |
| Phone | The phone number to check for existence in the contacts. |
| Request Options | Additional request settings such as batching, SSL handling, proxy, and timeout configurations. |
Output
JSON
exists- Boolean indicating if the contact exists.phone- The phone number checked.session- The session identifier used for the check.
Dependencies
- Requires an API key or session token for authentication to access the contact checking service.
Troubleshooting
- Ensure the session identifier is valid and active; invalid sessions will cause authentication errors.
- Verify the phone number format is correct; malformed numbers may lead to false negatives.
- If using a proxy, confirm proxy settings are correct to avoid connection failures.
- Timeout errors may occur if the server is slow or unreachable; consider increasing the timeout setting.