Connecting Stripe Workflows to HubSpot

ClearSync customers who have fully connected Stripe & HubSpot are able to create Stripe Workflows that can trigger on critical events like payment failures, and send over data to HubSpot via a Trigger HubSpot workflow action within Stripe:
Image without caption

How this works

Here’s how to send a Stripe event into a HubSpot Workflow using ClearSync:
  1. Create a HubSpot Workflow. In HubSpot, create a new Workflow.
      • For the enrollment trigger, open Custom events & external events and pick Received a webhook from an external app. HubSpot will give you a test URL — copy it.
  1. Paste the URL into ClearSync on the Webhook Trigger Helper screen into the "HubSpot test URL" field on this page.
    1. Image without caption
  1. List the fields you want to sync. Add each field name your workflow should receive — e.g. invoice_iduser_emailinvoice_amount. Letters, digits, underscores, and hyphens only — no spaces.
  1. Click Send. ClearSync will POST a sample payload to HubSpot so it can learn the schema. HubSpot will mark the trigger as ready.
  1. Set field types in HubSpot. HubSpot will prompt you to choose a type for each field.
      • Text is recommended for all data — ClearSync only sends text strings.
  1. Finish the HubSpot workflow. Build the rest of the workflow in HubSpot using the fields you just defined. Workflows are usually related to the Contact object in HubSpot, matched via the Stripe Customer Email.
  1. Configure your Stripe Workflows by heading to the Workflows page in Stripe, then:
    1. Add the trigger you want (e.g. an invoice event).
    2. Paste in the HubSpot webhook URL.
    3. Retrieve any other data sources you need.
    4. Add the ClearSync Trigger HubSpot Workflow action.
    5. Paste the HubSpot webhook URL into the ClearSync action.
    6. Map your Stripe fields onto the field names you defined here.