DevConnectAi icon

DevConnectAi

IntegraΓ§Γ£o completa com API DevConnectAi - Envie mensagens, gerencie contatos, tickets e muito mais

πŸ“€ Enviar Mensagem

AI-generated

Summary

Send a WhatsApp message via DevConnectAi

Inputs

  • tokenType β€” Type of authentication token to use
  • number (required) β€” Recipient phone number in international format
  • body (required) β€” Message text
  • url β€” URL of media (image, video, audio, document)
  • contact β€” Fixed collection of contact details for creating/updating a contact
  • queueId β€” ID of queue to assign the ticket (leave empty to not modify)
  • status β€” Status of the ticket
  • userId β€” ID of user to assign the ticket (leave empty to not modify)
  • tagId β€” ID of tag to add to the ticket
  • msdelay β€” Delay in milliseconds before sending
  • isInternal β€” Mark the message as internal (not sent to the client)
  • flowOn β€” Control chatbot state (keep, true, false)

Output shape

an array containing a single response object

The response includes the API result; errors are raised as node errors

Examples

Example 1: Send a simple text message to a contact

Set Token Type to 'connection', Number to '5511999999999', Body to 'OlΓ‘, teste', and leave other fields empty.

Example 2: Send a message with media and assign to a queue

Set Number to '5511999999999', Body to 'Check this image', URL to 'https://example.com/image.jpg', Queue ID to 123, and Token Type to 'connection'.

Example 3: Create a ticket and add a tag

Set Number to '5511999999999', Body to 'Support request', Status to 'open', Tag ID to 'tag_456', and Token Type to 'company'.

Discussion