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.
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.
- Connect the mailbox and write the search that matches your order confirmations.
- Connect Stripe in test mode using the restricted key from Stripe Connect.
- Map the sender address, the order value and the currency out of the message.
- Send one real-looking order through, check the customer, then swap to the live account.
Field mapping
| From Gmail | To Stripe | Note |
|---|---|---|
| From | Customer email | The sender address becomes the customer email, which is what every later flow matches on. |
| Subject | Amount | The order value in the subject is read as a decimal and converted to minor units before it is stored. |
| Body | Currency | The three letter code in the order body sets the currency, so nothing is assumed from the sender country. |
| Subject | Invoice ID | Your 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.
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.
Questions
What if the subject format changes?
Should I test this first?
Related combinations
Connect Gmail and Stripe
Set it up once and let it run. The free plan covers 100 tasks a month.
Start free