Templates / Automated order confirmations with Abacate Pay: first-buyer coupon rewards via email & Slack

Automated order confirmations with Abacate Pay: first-buyer coupon rewards via email & Slack

Ready for 3.0

by Matheus Pedrosa ✓ · 350 views · created 2025-08-14 · CRM, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Slack. It also calls api.abacatepay.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Configs (Edit Fields (Set)): sets 4 fields: token, companyName, companySite…
  2. CheckToken (If): checks a condition and branches into true / false
  3. GetOrders (HTTP Request): calls api.abacatepay.com
  4. RespondError (Respond to Webhook): sends the response back to the webhook caller
  5. CheckFirstOrder (Code): runs custom JavaScript code
  6. If: checks a condition and branches into true / false
  7. CreateCustomCoupon (HTTP Request): calls api.abacatepay.com (POST)
  8. MakeBodyEmail (Code): runs custom JavaScript code
  9. Slack: uses Slack
  10. Send Email: sends an email over SMTP

Services it uses

Slack

HTTP calls to: api.abacatepay.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Workflow Overview This workflow provides a complete, automated post-purchase solution triggered by a successful payment webhook from Abacate Pay. (For international users, think of Abacate Pay as 'the Brazilian Stripe' – a popular and robust payment gateway…

Excerpt from Matheus Pedrosa's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.