Wapisimo icon

Wapisimo

Consume Wapisimo API

Overview

The Wapisimo node's "Send Message" operation allows you to send WhatsApp messages via the Wapisimo API. This is useful for automating notifications, alerts, or direct communications to users through WhatsApp from your n8n workflows. Common scenarios include sending order confirmations, appointment reminders, or customer support messages.

Practical Examples

  • Automatically notify customers when their order status changes.
  • Send personalized reminders to clients about upcoming appointments.
  • Alert team members of critical system events via WhatsApp.

Properties

Name Type Meaning
Phone ID String The ID of the WhatsApp account to use for sending the message.
To String The recipient's phone number (the destination for the WhatsApp message).
Message String The content of the WhatsApp message to be sent.

Output

The node returns the response from the Wapisimo API in the output's json field. The structure of this response depends on the Wapisimo API but typically includes information such as:

{
  "status": "success",
  "messageId": "abc123",
  "to": "+1234567890",
  "message": "Your message text here"
}

If an error occurs and "Continue On Fail" is enabled, the output will look like:

{
  "error": "Error message describing what went wrong"
}

Dependencies

  • External Service: Requires access to the Wapisimo API.
  • API Key: You must provide a valid Wapisimo API key via n8n credentials (wapiSimoApi).
  • n8n Configuration: Ensure the Wapisimo credential is set up in your n8n instance.

Troubleshooting

  • Invalid API Key: If the API key is missing or incorrect, you may receive authentication errors. Double-check your credentials in n8n.
  • Incorrect Phone ID or Number: Providing an invalid Phone ID or recipient number can result in failed message delivery. Verify these values with your Wapisimo dashboard.
  • API Errors: If the Wapisimo API is down or unreachable, the node will throw an error. Check the Wapisimo status page or try again later.
  • Common Error Messages:
    • "Unauthorized": Check your API key.
    • "Invalid phone number": Ensure the 'To' property is correctly formatted.
    • "Phone ID not found": Confirm the Phone ID exists in your Wapisimo account.

Links and References

Discussion