Notificações Inteligentes icon

Notificações Inteligentes

NI Integration

Overview

This node handles the "Order Canceled" event within an event management or e-commerce integration system. It allows users to send detailed information about a canceled order, including customer details, order specifics, product data, delivery, and address information. This is useful for automating workflows triggered by order cancellations, such as notifying customers, updating inventory, or logging cancellations in external systems.

Practical examples include:

  • Automatically sending cancellation notifications to customers.
  • Updating CRM or ERP systems with cancellation data.
  • Triggering refund processes or restocking products after an order is canceled.

Properties

Name Meaning
ID The ID of the existing integration
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: Year-Month-Day, e.g., 2001-08-20)
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
IP Address Customer’s IP address
Products List of products in the order, each with: Product 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
Discount Total discount 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, 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 sent event payload, which includes all the provided customer, order, product, address, and delivery information structured according to the input properties. This output can be used downstream in workflows for further processing or logging.

There is no indication that the node outputs binary data.

Dependencies

  • Requires an API key credential for authentication to the external service at https://api.notificacoesinteligentes.com.
  • Uses HTTP requests to communicate with this external API.
  • The node expects proper configuration of authentication credentials within n8n to successfully send event data.

Troubleshooting

  • Common issues:

    • Missing required fields such as Order ID, Products, or Customer First Name may cause the request to fail.
    • Incorrectly formatted dates (e.g., birthdate or estimated delivery date) might lead to errors.
    • Network or authentication failures when connecting to the external API endpoint.
  • Error messages and resolutions:

    • Authentication errors: Ensure the API key credential is correctly configured and valid.
    • Validation errors: Verify all required fields are filled and formatted properly.
    • Timeout or connection errors: Check network connectivity and API availability.

Links and References

Discussion