Notificações Inteligentes icon

Notificações Inteligentes

NI Integration

Overview

The node handles event-related operations, specifically focusing on the "Awaiting Pickup" operation within the "Event" resource. It is designed to send detailed customer and order information as an event to an external system, likely for tracking or notification purposes related to order status changes such as awaiting pickup.

This node is beneficial in e-commerce or logistics workflows where you want to automate notifications or updates when an order reaches a specific status (e.g., awaiting pickup). For example, it can be used to trigger alerts to customers or internal systems once their order is ready for pickup, including detailed customer data and order metadata.

Properties

Name Meaning
First Name Customer’s first name
Last Name Customer’s last name
Phone Customer phone number including country and area code
Email Customer’s email address
Birth Date Customer’s birth date (format: YYYY-MM-DD)
Gender Customer’s gender
Tax ID (CPF/CNPJ) Customer’s tax document identifier
IP Address Customer’s IP address
Currency Currency used by the customer (e.g., BRL, USD, GBP)
Products List of products in the order, each with name, quantity, and value
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 after discounts
Discount Total discount amount applied to the order
Status Current order status description for enrichment
Address Parameters Customer address details including city, complement, country, neighborhood, number, postal code, state, street
Delivery Parameters Delivery details including description, fee amount, message, tracking code, tracking URL, estimated delivery date

Output

The node outputs JSON data representing the event sent to the external system. This JSON includes structured customer information, order details, product lists, address, and delivery parameters depending on the input properties provided.

No binary data output is indicated.

Dependencies

  • Requires access to an external API endpoint at https://api.notificacoesinteligentes.com for some operations (e.g., loading tags).
  • Requires an API key or authentication token configured in n8n to authenticate requests to the external service.
  • The node uses HTTP requests with authentication to communicate with the external API.

Troubleshooting

  • Missing Required Fields: Ensure all required fields like "First Name," "Phone," "Products," and "Order ID" are provided; missing these will likely cause errors.
  • Invalid Date Format: The "Birth Date" and "Estimated Delivery Date" must follow the specified format (YYYY-MM-DD); incorrect formats may cause request failures.
  • API Authentication Errors: If the API key or authentication token is not set up correctly, requests will fail. Verify credentials in n8n settings.
  • Network Issues: Timeouts or connectivity problems with the external API endpoint can cause execution failures.
  • Data Mapping Issues: Incorrectly formatted product arrays or address objects may lead to malformed requests.

Links and References

Discussion