ZAPIN icon

ZAPIN

Interact with Zapin EVO

Chat → Block Contact

AI-generated

Overview

This node interacts with a chat API to block or unblock a contact on a specified chat instance. It is useful for managing contact permissions in chat applications, such as preventing unwanted messages from specific contacts or restoring communication by unblocking them.

Use Case Examples

  1. Blocking a spammer's contact number to stop receiving messages.
  2. Unblocking a previously blocked contact to resume communication.

Properties

Name Meaning
Instance Name The name of the chat instance where the contact will be blocked or unblocked.
Contact The contact number to be blocked or unblocked.
Action The action to perform on the contact, either blocking or unblocking them.

Output

JSON

  • status - The result status of the block or unblock action, indicating success or failure.
  • message - Additional information or confirmation message about the performed action.

Dependencies

  • Requires an API key credential for authentication with the chat API service.

Troubleshooting

  • Ensure the instance name and contact number are correctly provided and formatted.
  • Verify that the API credentials are valid and have the necessary permissions.
  • Common error: 'Unsupported operation' - occurs if the specified operation is not implemented or recognized by the node. Check the operation name and resource.

Discussion