StevoChat icon

StevoChat

Interact with StevoChat API

Chat → Send Contact

AI-generated

Overview

The node integrates with the StevoChat API to send various types of chat messages and perform session or webhook management. Specifically, for the Chat - Send Contact operation, it sends a contact card to a specified phone number via StevoChat. This is useful in scenarios where you want to share contact information directly within a chat conversation, such as customer support sharing agent contacts or businesses sending partner details.

Practical example: A business can automate sending a contact card of their sales representative to a customer who requests direct communication, improving user experience by providing quick access to contact details.

Properties

Name Meaning
Phone The recipient's phone number including country code.
Contact Name The name of the contact being sent.
Contact Phone The phone number of the contact being sent.
ID (Optional) An optional message ID to uniquely identify the message (can be used for tracking).

Output

The output is a JSON array containing the response from the StevoChat API after sending the contact message. Each item corresponds to one execution of the operation and includes details about the success or failure of the request.

No binary data output is involved in this operation.

Example output structure:

[
  {
    "status": "success",
    "messageId": "abc123",
    "details": { ... }
  }
]

Dependencies

  • Requires an active StevoChat API key credential configured in n8n.
  • Network access to StevoChat API endpoints.
  • Proper configuration of the node with valid phone numbers and contact details.

Troubleshooting

  • Common issues:

    • Invalid or improperly formatted phone numbers may cause the API to reject the request.
    • Missing required fields like Phone, Contact Name, or Contact Phone will result in errors.
    • API authentication failures if the API key credential is missing or invalid.
  • Error messages:

    • "error": "Invalid phone number format" — Ensure the phone number includes the country code and no extra characters.
    • "error": "Unauthorized" — Check that the API key credential is correctly set up and has not expired.
    • "error": "Missing required parameter" — Verify all required properties are provided.

Resolving these typically involves validating input data and confirming credential setup.

Links and References

Discussion