CRM Grape icon

CRM Grape

Integração completa com CRM Grape - Envie mensagens, gerencie contatos, tickets, tags, kanban e consultas. Compatível com Agentes IA (Tool).

Sequência → Agendar Follow-up

AI-generated

Summary

Schedules a single follow-up message on a CRM Grape ticket to be sent after a configurable delay. The message is typed manually or supplied by an AI node.

Inputs

  • ID do Ticket (ticketId) (required) — ID of the ticket that will receive the follow-up.
  • ID do Contato (contactId) — Optional contact ID. If empty, the ticket's own contact is used (per the field description). An empty string is still sent as contact_id.
  • Mensagem (message) (required) — Follow-up text. Can be typed, set with an expression, or filled from an AI agent via $fromAI.
  • Atraso (delayValue) — How long to wait before sending. Defaults to 60.
  • Unidade do Atraso (delayUnit) — Minutes (default), Hours or Days. The node converts delay × unit to whole minutes, rounded and floored at 0.

Output shape

JSON returned by the Grape webhook for the 'schedule_followup' action, as one or more items paired to the input item. The exact fields depend on the CRM response and are not defined in the node.

Sends a POST to /api/v1/n8n/webhook/{token} with ticket_id, contact_id, message and delay_minutes. HTTP errors (401, 403, 400, 404, 500) are thrown with Portuguese messages. With Continue On Fail enabled, the output is an item with {error: message}. Runs once per input item. The node is usable as an AI tool.

Examples

Example 1: Nudge a customer 2 days after a quote is sent

ticketId = {{$json.ticket_id}}, message = 'Olá! Conseguiu avaliar o orçamento?', delayValue = 2, delayUnit = Dias

Example 2: AI agent decides follow-up text

message = {{ $fromAI('message', 'Follow-up text') }}, delayValue = 30, delayUnit = Minutos, ticketId from the trigger

Links

Discussion