Skip to content
Syncline

Create a Stripe customer from an order email

Orders that arrive as email stop waiting for somebody to open the dashboard: the customer exists in Stripe with your reference already in metadata.

Trigger: New email matching a search
Action: Create a customer
About 14 minutes to set up

How this flow works

Syncline watches Gmail for New email matching a search. When that happens it runs Create a customer in Stripe with the fields you mapped.

  1. Connect the mailbox and write the search that matches your order confirmations.
  2. Connect Stripe in test mode using the restricted key from Stripe Connect.
  3. Map the sender address, the order value and the currency out of the message.
  4. Send one real-looking order through, check the customer, then swap to the live account.

Field mapping

From GmailTo StripeNote
FromCustomer emailThe sender address becomes the customer email, which is what every later flow matches on.
SubjectAmountThe order value in the subject is read as a decimal and converted to minor units before it is stored.
BodyCurrencyThe three letter code in the order body sets the currency, so nothing is assumed from the sender country.
SubjectInvoice IDYour own order number is written into metadata beside the invoice reference, which makes reconciliation a lookup.

Why teams run it

  • Orders from a marketplace reach Stripe without a person
  • Your order number lives on the Stripe record forever
  • Test mode first means a bad parse costs nothing

Who uses it

An ecommerce owner whose marketplace sends order confirmations by mail and nothing else.

About the two apps

Gmail

Plenty of work still arrives as an email and stays there. Syncline turns matching messages into records in your other apps, and sends mail back out when something changes.

All Gmail flows

Stripe

Stripe knows the moment money arrives, fails or goes back out. Syncline turns each of those events into something your team can see and act on within a couple of minutes.

All Stripe flows

Questions

What if the subject format changes?
The run fails loudly with the text it could not read, rather than writing a wrong amount. Fix the pattern once and the queued messages are retried.
Should I test this first?
Yes, and Stripe makes it easy. Connect the test account, push twenty orders through, compare the customers, then repeat the connection in live mode.

Connect Gmail and Stripe

Set it up once and let it run. The free plan covers 100 tasks a month.

Start free