🔥 Google Sheets integration is live! Learn more

How to Import Stripe Customers to Airtable

Feb 15, 2021Andy Cloke

In this guide, you'll learn to import customers from Stripe to Airtable with no-code. By importing customers and subscriptions, you can track your MRR right inside Airable. We'll use the Data Fetcher Airtable extension to import various fields for every Stripe customer, such as name, email & creation time. Finally, you'll see how to import Stripe customers automatically on a schedule, even when you are not logged into Airtable or Data Fetcher.

Install Data Fetcher

Add Data Fetcher to your base from the Airtable marketplace. This is a free extension that lets us import data from services like Stripe, Xero and Webflow without coding.

After you have added Data Fetcher to your base, you will need to create a free Data Fetcher account. Enter a password and click 'Sign up for free' or click 'Continue with Google'. Signing up for an account keeps your details secure. It's separate from your Airtable account.

Group 1Data Fetcher Sign Up .png

Import Stripe Customers to Airtable

Once you've signed up for a Data Fetcher account, you will land on the home screen. Click 'Create your first request' to go to the create request screen, where you will connect to Stripe and import your customers.

click-create-your-first-request.png

On the create request screen in Data Fetcher, for Application, select 'Stripe'.

stripe-application-selected.png

Now we need to authorize Data Fetcher to read from your Stripe account. Under Authorization, click 'New Stripe connection'. On the new tab/window that opens, select the Stripe account you want to import Stripe data from and click 'Connect'.

Stripe Oauth.png

Back in Data Fetcher, select 'List all customers' for Endpoint.

Enter 'Import Stripe Customers' for the Name of your request. Then click 'Save & Continue'.

stripe-customers-save-continue.png

Enter an email in the Email input if you want to limit the customers imported to Airtable to only those with a particular email.

Select an option for Created to limit the customers imported to Airtable to only those created within a certain time period.

Click 'Run' in the bottom right-hand corner.

stripe-customers-run.png

Next, you need to configure how the available fields in the remote XML file should map to fields in the output table. The Response field mapping modal will open, where you can do this.

The request will run and the Response field mapping modal will open. This is where you set how the fields from Stripe should map to fields in the output table. For each Stripe customer field, you can either import or filter it. For an imported field, you can set whether to map them to an existing field or create a new field.

Make sure you import the 'Id' field, as we will use this to ensure the customer records we have in Airtable are kept in sync with any changes in Stripe. Import any other fields you want. Then click 'Save & Run'.

stripe-customers-response-field-mapping.png

Data Fetcher will create any new fields in the output table and import the customers from Stripe to Airtable. Stripe has a limit of 100 customers per page, so Data Fetcher may need multiple runs in order to import all customers.

stripe-customers-imported-data.png

Finally, we want to ensure Data Fetcher can match up customers in Stripe with records in Airtable, even if we move those records around. To do this, click 'Advanced settings' to open the advanced output settings. Under Update Based on Field, select 'Id'. Then click 'Save'

stripe-updated-based-on-id.png

Note: Stripe uses Unix timestamp fields for date fields (e.g. 'Created') that have numeric values. You can convert them to date format in Airtable by creating a formula field with this formula:

DATEADD('1/1/1970',Created,'seconds')

stripe-created-at-formula.png

Import Stripe Customers to Airtable Automatically

At the moment, we have to manually run the request to import the Stripe customers. We can use Data Fetcher's scheduled requests feature to automatically import them every 15 minutes/ hour/ day etc.

This is a paid feature, so you need to upgrade. In Data Fetcher, scroll to Schedule and click 'Upgrade'.

table-1-schedule-upgrade-button.png

A new tab will open where you can select a plan and enter your payment details to upgrade.

Screenshot 2021-12-29 at 10.25.19.png

Return to the Data Fetcher app and click "I've done this".

table-1-schedule-ive-done-this-button.png

Click 'Add API key' in order to add your Airtable API key. You can find your Airtable API key here.

Group 11(1).png

Enter your Airtable API key and click 'Save'.

save-airtable-api-key.png

Enable Schedule this request.

schedule-data-fetcher-request.png

Select how often you want the request to run, e.g. 'Every hour'. Click 'Save'. The request will now run on the schedule and import the Stripe customers automatically.

Group 11(2).png

Related Posts

How to Import Company Revenue, EPS and Financial Ratios in Airtable

How to Import Company Revenue, EPS and Financial Ratios in Airtable

Mar 22, 2022

Rosie Threlfall

Alpha VantageFinance
How to Import Stripe Subscriptions to Airtable

How to Import Stripe Subscriptions to Airtable

Feb 24, 2022

Andy Cloke

Stripe
How to Import Stripe Invoices to Airtable

How to Import Stripe Invoices to Airtable

Feb 23, 2022

Andy Cloke

Stripe