Actions35
- Cliente Actions
- Atendimento Actions
- Proposta Actions
- Lead Actions
- Integraçõe Actions
Atendimento → Criar Atendimento
AI-generatedSummary
Create a new customer attendance (Atendimento) record in Resgata using a customer's CPF, Chatwoot conversation and account IDs, and optionally specifying the communication channel.
Inputs
- CPF (required) — The customer's CPF number, normalized by the node before the request.
- Chatwoot Conversation ID (required) — The numeric ID of the conversation in Chatwoot linked to the attendance.
- Chatwoot Account ID (required) — The numeric ID of the Chatwoot account under which this attendance is recorded.
- Canal — Optional channel type for the attendance, such as 'whatsapp', 'telegram', 'instagram', 'facebook', 'email', 'web', 'phone', or 'other'. Defaults to 'whatsapp' if omitted.
Output shape
a single JSON object representing the created attendance record as returned from the Resgata API
The response contains the created attendance data. Any API errors will be thrown unless 'Continue On Fail' is enabled, in which case errors are output as JSON with error details.
Examples
Example 1: Create an attendance record for a customer with CPF '373.731.178-50' linked to a WhatsApp Chatwoot conversation.
Set CPF='373.731.178-50', Chatwoot Conversation ID=123456, Chatwoot Account ID=1, Canal='whatsapp'. Execute node to create the attendance and obtain the returned attendance data.