Suri icon

Suri

Integração com a plataforma Suri (Chatbot Maker)

Contato → Importar Contatos em Lote

AI-generated

Summary

Import a batch of contacts into the Suri platform by providing a JSON array where each object contains required contact details and optional additional information.

Inputs

  • Contatos (JSON Array) (required) — A JSON array where each item is an object with required fields: name, phone, gender (0/1/2), channelId, channelType (1 for WhatsApp). Optional fields include email, note, and variables.

Output shape

an object or array confirming the batch import result, normalized as JSON output; success and error states are handled by the API response.

The input contacts must be provided as a JSON array string. Each contact object requires specific fields; optional fields can be omitted. The exact structure of the returned data depends on the API response but is normalized to JSON for n8n. Errors throw exceptions unless the workflow is set to continue on fail.

Examples

Example 1: Import multiple contacts in one request

Set resource to 'Contato', operation to 'Importar Contatos em Lote', and supply the 'Contatos (JSON Array)' parameter with a properly formatted JSON array of contact objects.

Links

Discussion