1. Help
  2. HubSpot Integrations

HubSpot and Stripe Integration

This article discusses the steps of integrating HubSpot and Stripe for the consistency between payments and contact records of the customers.

HubSpot is a credible and industrial-level Content Resource Management System whereas Stripe is a trusted online payment partner for digital businesses. We will look into the steps of integrating both, using Zapier.

We will be exploring the following in the article:

Understanding Workflow

This section covers the details to understand the workflow between HubSpot and Stripe. Follow the steps below:

  1. Navigate to the Contacts under Contacts in your HubSpot account.

     Contacts
  2. Click on the Subscriptions tab.

    Subscriptions
  3. If the tab is not visible, click on Add view.
  4. Write Subscriptions to navigate to the particular tab.
     Add view.
  5. Here you can see the details about the customer as in the Name, Stripe Membership Level, Last amount paid, and more.
  6. Under the Original Source, you can find Zapier. It signifies that this information is retrieved from Zapier.

    Zapier
  7. Once you navigate to the Zapier account, you can see that there are two options for Stripe Integration:

    Stripe Integration

Cheatalgo get stripe customers in Hubspot: It fetches the contact details of the customers into the HubSpot once they sign up for a free trial.

New Subscription in Stripe to HubSpot: This option is utilized to get the subscription details, once the customer has subscribed to any of the plans.

Contact Creation in HubSpot

One of the options of Stripe Integration in Zapier is Cheatalgo get stripe customers in Hubspot. To understand its workflow, follow these steps:

  1. Click on Cheatalgo get stripe customers in Hubspot.
     
    Cheatalgo get stripe
  2. The workflow is to find a contact in HubSpot as soon as a new customer is created in Stripe. If the contact is not found, then create a new one.

     HubSpot
  3. That’s pretty much about it. Simple and straightforward.

Sending Subscription Information to HubSpot

To understand the workflow of getting subscription details in the HubSpot, follow these steps:

  1. Click on New Subscription in Stripe to Hubspot.
     
    Stripe to Hubspot
  2. The workflow states that once a new event is created in Stripe, delay it for a few seconds. After that find the contact in HubSpot, and if it doesn’t exist, then create a new one.

    HubSpot
  3. Afterwards, it should Lookup Spreadsheet Row in Google Sheets. This spreadsheet basically maps the ids to the names of the products.

    Lookup Spreadsheet Row in Google Sheets.
  4. Here you can see each of the ids is mapped to the name. It is beneficial as ids are received from the Stripe, which is not comprehensible, so mapping them to their respective product names is helpful.

     mapping
  5. Then the action is executed, that is, for now, selected as the Text. Lastly, the contact is updated in the HubSpot.

    selected as the Text

Zap History

When there are a lot of requests at the same time, they are held in the Zap History. You can update all of them by the following steps:

  1. Click on View logs under the Cheatalgo get stripe customers in Hubspot.
     
    Cheatalgo
  2. Click on the checkbox and select Select all (5000 at a time).

    Select all
  3. It will select all the contacts. Afterwards, click on Play.

    Play
  4. Select Replay from the prompt.

    Replay
  5. You will be able to see the success message, once all the zaps are replayed, such as updated.

    zaps are replayed
  6. Note, you may not be able to replay all the zaps if the limit of your plan has been exceeded.

    plan

Creating a Custom Workflow

This section covers the details of creating the custom workflows as per requirements. To understand it, follow these steps:

  1. Select Lists from the dropdown of Contacts.

     Lists
  2. Here you can find the NAME and SIZE of lists. These lists are built on the subscription level of Stripe.

    Stripe
  3. Once you click on the ‘cheatcodealgo’ list, you can see the details about the particular list. Here you can see how this list is linked to the subscription level of Stripe.

    cheatcodealgo

To create the workflow, the steps are as follows:

  1. Under Automation, select Workflows.

    Automation
  2. Click on Create Workflow.

    Workflow
  3. Select Start from scratch.
  4. Enter the name of the workflow, which in this case has been entered as ‘Tutorial 1’.
  5. Click on Next.

    Next
  6. Once the setting up workflow page appears, click on Set up triggers.
  7. Select List memberships as the Filter Type.

    List memberships
  8. Select the list as nvst/cheatcodealgo.
  9. Choose is member of list from the options. And, click on Apply Filter.

    Apply Filter
  10. Add the New action by clicking on the + button.
  11. Choose the action as Send email.

    Send email
  12. Choose the email you would like to utilize.

    utilize
  13. This was all about creating custom workflows.

Conclusion

This article covered the details of integrating Stripe and HubSpot using Zapier. It also covered the details of creating custom workflows to match the requirements.