Notificações Inteligentes icon

Notificações Inteligentes

Integração do NI

Overview

The node is designed to create an event of type "Aguardando Pagamento" (Waiting for Payment) within an event management or e-commerce integration system. It collects detailed customer and order information, including personal data, products purchased, payment details, and status updates. This node is useful in workflows where you want to trigger or log an event indicating that a customer's order is awaiting payment confirmation, such as after checkout but before payment completion.

Practical examples:

  • Sending notifications or reminders to customers about pending payments.
  • Integrating with payment gateways to track orders waiting for payment.
  • Logging events for analytics on payment statuses.

Properties

Name Meaning
Primeiro Nome Customer's first name
Sobrenome Customer's last name
Telefone Customer's phone number including country code and area code
Data De Nascimento Customer's birthdate (format: YYYY-MM-DD)
Moeda Currency type used by the customer (e.g., BRL, USD, GBP)
Gênero Customer's gender
CPF/CNPJ Customer's document number (CPF or CNPJ)
IP Customer's IP address
Produtos List of products in the order, each with: product name, quantity, and value
Campo Produtos Obrigatório Notice indicating that the products field is mandatory
ID Do Pedido Order ID
Valor Somado Dos Produtos Do Pedido Sum of the values of all products in the order
Valor Do Pedido Total Total value of the order
Desconto Total discount applied to the order
Status Current status description of the order for enrichment purposes
Método De Pagamento Payment method for the order; options include: Cartão De Crédito (credit-card), Depósito (deposit), PIX (pix)
Código Bacen Bacen code required for PIX payment
Data Do Vencimento Do Pix Due date for PIX payment in UTC+0 timezone (required for PIX reminder functionality)
QR Code QR code string for PIX payment
URL De Pagamento Do Pix URL for PIX payment
Valor Do Pix Amount for the PIX payment

Output

The node outputs JSON data representing the created event with all the provided customer, order, and payment details. The output structure includes fields corresponding to the input properties, allowing downstream nodes to access enriched event data for further processing or logging.

If binary data were involved (not indicated here), it would typically represent files or media related to the event, but this node focuses on structured JSON data only.

Dependencies

  • Requires an API key or authentication token to connect to the external event or order management service.
  • The node depends on proper configuration of credentials within n8n to authenticate requests.
  • No additional external libraries are indicated beyond standard dependencies bundled with the node.

Troubleshooting

  • Missing Required Fields: Ensure all required fields like "Primeiro Nome", "Telefone", "Produtos", "ID Do Pedido", and payment-specific fields (e.g., Bacen code for PIX) are filled correctly.
  • Invalid Date Formats: The birthdate and due date must follow the specified formats (e.g., YYYY-MM-DD for birthdate, ISO 8601 for due date).
  • Payment Method Mismatch: If the payment method is PIX, ensure all PIX-related fields (Bacen code, QR code, URL, due date, and value) are provided; otherwise, the event creation may fail.
  • API Authentication Errors: Verify that the API key or authentication token is valid and has sufficient permissions.
  • Network Issues: Check connectivity to the external service endpoint.

Links and References

Discussion