πŸ’¬ Recover abandoned carts with localized pricing via ApogeoAPI and SMTP email

⚑ 0 views Β· πŸ’¬ Lead Nurturing & AI Sales Agents

Description

Quick overview

This workflow receives abandoned-cart events via a webhook, uses ApogeoAPI to geolocate the shopper and convert the cart total from USD to the shopper’s local currency, then waits one hour and sends a localized recovery email via SMTP.

How it works

  1. Receives an abandoned cart event via a POST webhook containing the shopper email, IP address, cart total in USD, and checkout URL.
  2. Uses ApogeoAPI to geolocate the shopper’s IP address and retrieve the country details, including the local currency.
  3. Uses ApogeoAPI to fetch the current USD-to-local exchange rate and calculates a localized cart total plus a region-specific greeting, language, and coupon.
  4. Waits one hour to give the shopper time to complete the purchase without a reminder.
  5. Sends a recovery email via SMTP that includes the localized cart total, localized message copy, coupon code, and a link back to the checkout.

Setup

  1. Self-host n8n and install the n8n-nodes-apogeoapi community node.
  2. Create an ApogeoAPI account, add your ApogeoAPI credentials in n8n, and ensure the workflow nodes reference that credential.
  3. Configure your store (for example, Shopify) to POST abandoned-cart events to the workflow webhook URL and map the event fields to the expected payload.
  4. Add an SMTP (or other supported email) credential and update the β€œfrom” address used to send the recovery email.

Requirements

Customization

πŸ”— Nodes Used

Send Email, Webhook

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup