Actions32
- Mensagem Actions
- Contato Actions
- Ticket Actions
- Tag Actions
- Kanban Actions
- Sequência Actions
- Consulta Actions
Ticket → Criar Ticket
AI-generatedSummary
Creates a new ticket in CRM Grape for an existing contact, with an optional subject and a priority level. Sends a create_ticket action to the CRM's n8n webhook endpoint.
Inputs
- ID do Contato (contactId) (required) — ID of the existing contact the ticket is created for.
- Assunto (subject) — Subject of the ticket. Defaults to an empty string, which is sent as-is.
- Prioridade (priority) — Ticket priority: low, medium, high or urgent. Defaults to medium.
Output shape
The JSON response from the Grape webhook, returned as one or more n8n items. Each item is linked to its input item.
The source doesn't define the response fields, so they depend on the CRM API. The request is a POST to {baseUrl}/api/v1/n8n/webhook/{token} with body {action:'create_ticket', data:{contact_id, subject, priority}}. HTTP errors 401, 403, 400, 404 and 500 are turned into Portuguese error messages. With Continue On Fail enabled, a failing item returns {error: message} instead of stopping the workflow.
Examples
Example 1: Open a high-priority ticket for a contact created earlier in the workflow.
Resource: Ticket; Operation: Criar Ticket; ID do Contato: {{$json.id}}; Assunto: 'Pedido de suporte'; Prioridade: Alta.
Example 2: Create a default-priority ticket with no subject.
Resource: Ticket; Operation: Criar Ticket; ID do Contato: '12345'; leave Assunto empty; Prioridade: Média.