This n8n workflow automates the post-purchase process for an eCommerce platform integrated with the Abacate Pay gateway. When a customer completes a payment, the workflow triggers via a webhook, verifies a security token, and then retrieves the customer’s order history. If it detects that the order is the customer’s first purchase, it generates a personalized 10% discount coupon for their next order. The workflow then sends a detailed order confirmation email to the customer, including order details and, if applicable, the special coupon. Additionally, it sends a notification to a Slack channel with the order information, customer details, and coupon info if relevant. This process helps streamline customer communication, incentivizes repeat business, and improves overall customer experience.
The nodes involved include a webhook trigger, configuration variables, security token validation, order fetching from the payment API, first-order check via custom code, coupon creation through an API request, an email template generator, and notification messages through Slack. This workflow is ideal for eCommerce sites that want to automate order confirmations, reward first-time customers, and enhance real-time notifications.
Reviews
There are no reviews yet.