Notificações Inteligentes icon

Notificações Inteligentes

NI Integration

Overview

This node is designed to create or handle an "Abandoned Cart" event within an e-commerce or marketing automation context. It collects detailed customer and cart information, such as customer identity, contact details, and the products left in the cart, then sends this data to a remote service for tracking or triggering follow-up actions.

Common scenarios where this node is beneficial include:

  • Sending reminders or promotional offers to customers who added items to their cart but did not complete the purchase.
  • Integrating with marketing platforms to automate abandoned cart recovery campaigns.
  • Analyzing customer behavior related to cart abandonment to improve sales strategies.

Practical example: When a customer leaves an online store without completing checkout, this node can be used to send the customer's cart details and contact info to a notification system that triggers an email or SMS reminder encouraging them to complete their purchase.

Properties

Name Meaning
ID The ID of the existing integration (required for some operations).
First Name Customer’s first name (required).
Last Name Customer’s last name.
Phone Customer phone number including country and area code (required).
Email Customer’s email address.
Birth Date Customer’s birth date in format Year-Month-Day (e.g., 2001-08-20).
Currency Currency used by the customer (e.g., BRL, USD, GBP).
Gender Customer’s gender.
Tax ID (CPF/CNPJ) Customer’s tax document identifier.
IP Address Customer’s IP address.
Products List of products in the cart. Each product includes:
- Product Name (string, required)
- Product Quantity (number, required)
- Product Value (number, required)
Checkout Order details including:
- URL: Checkout URL to return the customer to the purchase
- ID: Cart identifier code

Note: The "Products" property is required and supports multiple entries, allowing detailed product metadata to be sent.

Output

The node outputs JSON data representing the result of sending the abandoned cart event to the external service. This typically includes confirmation of event creation or any response data from the API.

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

Dependencies

  • Requires access to an external API at https://api.notificacoesinteligentes.com for event handling.
  • Needs an API authentication token or key configured in n8n credentials to authorize requests.
  • Network connectivity to the external service endpoint.
  • Proper configuration of input properties to match expected API schema.

Troubleshooting

  • Missing Required Fields: Ensure all required fields like "First Name," "Phone," and "Products" are provided; otherwise, the API may reject the request.
  • Invalid Data Format: Dates should follow the specified format (Year-Month-Day). Incorrect formats may cause errors.
  • API Authentication Errors: Verify that the API key or token is correctly set up in n8n credentials and has sufficient permissions.
  • Network Timeouts: The node uses a 5-second timeout for HTTP requests; slow network or API issues might cause timeouts.
  • Unexpected API Responses: If the external service changes its API, the node might fail; check logs for error messages and update configurations accordingly.

Links and References

Discussion