Notificações Inteligentes icon

Notificações Inteligentes

NI Integration

Overview

The node handles event data related to order processing within an e-commerce or order management context. It is designed to capture and send detailed information about customer orders, including customer details, products ordered, pricing, discounts, delivery, and address information.

This node is beneficial in scenarios where businesses want to track order lifecycle events such as order creation, payment, dispatch, refund, cancellation, and status updates. It can be used to integrate with external notification systems, analytics platforms, or CRM tools to automate workflows based on order events.

Practical examples:

  • Sending a notification when an order is processed or dispatched.
  • Logging customer order details for analytics.
  • Triggering follow-up actions when an order is refunded or canceled.
  • Enriching customer profiles with order history and delivery information.

Properties

Name Meaning
ID The ID of the existing integration (used for integration-related operations).
First Name Customer’s first name.
Last Name Customer’s last name.
Phone Customer phone number including country and area code.
Birth Date Customer’s birth date (format: YYYY-MM-DD).
Currency Currency used by the customer (e.g., BRL, USD, GBP).
Gender Customer’s gender.
Email Customer’s email address.
Tax ID (CPF/CNPJ) Customer’s tax document identifier (CPF/CNPJ).
IP Address Customer’s IP address.
Products List of products in the order, each with: Product Name, Quantity, and Value.
Products Field Is Required Notice indicating that product data must be provided.
Order ID Unique identifier for the order.
Order Products Total Value Sum of the values of all products in the order.
Order Total Value Total amount of the order including discounts and fees.
Discount Total discount amount applied to the order.
Status Current order status description for enrichment purposes.
Address Parameters Customer address details including city, complement, country, neighborhood, number, postal code, state, and street.
Delivery Parameters Delivery details including description, fee amount, message, tracking code, tracking URL, and estimated delivery date.

Output

The node outputs JSON data representing the event payload sent to the external system. This includes structured customer information, order details, product lists, address, and delivery metadata.

  • The json output field contains the full event data as submitted.
  • No binary data output is indicated.

Dependencies

  • Requires an API endpoint at https://api.notificacoesinteligentes.com for sending event data.
  • Uses HTTP requests authenticated via an API key or token credential configured in n8n.
  • The node depends on the external notification service's API to process and store event data.

Troubleshooting

  • Missing required fields: Ensure all mandatory properties such as customer first name, phone, products, order ID, and totals are provided; otherwise, the API may reject the request.
  • Invalid date formats: Birthdate and estimated delivery date must follow the specified format (e.g., YYYY-MM-DD) to avoid errors.
  • API connectivity issues: Network problems or incorrect API credentials can cause request failures. Verify API keys and network access.
  • Product list formatting: The products property expects an array of objects with specific fields (name, quantity, value). Incorrect structure may lead to errors.
  • Timeouts: The node uses a 5-second timeout for API calls; slow responses might cause timeouts and require retry or increased timeout settings.

Links and References

Discussion