Create a Zap for creating LaunchNotes subscribers from new HubSpot Contacts
TF

Teddy Fischer

Created Sep 22, 2023

Create a Zap for creating LaunchNotes subscribers from new HubSpot Contacts

46

#

Navigate to your Zapier account

4 Steps
1

Click on Create Zap

Click on Create Zap
2

Select HubSpot as the Trigger

Select HubSpot as the Trigger
3

Under Event select New Contact

Under Event select New Contact
4

Click on Continue

Click on Continue

#

Connect your HubSpot account

2 Steps
5

Click on Continue

Click on Continue
6

Click on Continue

Click on Continue

#

HubSpot

2 Steps
7

Click on Create contact

Click on Create contact
8

Create a test contact to use for the integration

Create a test contact to use for the integration

#

Navigate back to Zapier

29 Steps
9

Click on Test trigger

Click on Test trigger
10

Click on Continue with selected record

Click on Continue with selected record
11

To optionally add a filter, click on Add Step Button

To optionally add a filter, click on Add Step Button
12

Click on Filter…

Click on Filter…
13

Click on Choose field…

Click on Choose field…
14

Click on Contact information: Lifecycle Stage, or any other attribute you want to filter by

Click on Contact information: Lifecycle Stage, or any other attribute you want to filter by
15

Click on Choose condition…

Click on Choose condition…
16

Click on (Text) Is in

Click on (Text) Is in
17

Click on Contact information: Lifecycle Stage lead

Click on Contact information: Lifecycle Stage lead
18

Click on Continue

Click on Continue
19

For the Action, click on Webhooks by Zapier

For the Action, click on Webhooks by Zapier
20

For the Event, click on Custom Request…

For the Event, click on Custom Request…
21

Click on Continue

Click on Continue
22

Select POST for the Method

Select POST for the Method
23

Set the URL to https://app.launchnotes.io/graphql

Set the URL to https://app.launchnotes.io/graphql
24

Paste the code snippet into Data

{ "query": "mutation CreateProjectSubscription($projectId: ID!, $email: String!, $workItemId: ID, $categoryId: ID,) {createProjectSubscription(input: {projectSubscription: {projectId: $projectId,subscriber: {email: $email, type: SUBSCRIBER},workItems: [{id: $workItemId}],categories: [{id: $categoryId}],skipOptIn: true}}) {projectSubscription {id createdAt subscriber {email,confirmedAt}}, errors {path,message}}}", "variables": {"projectId": "Project ID","email": "Email address variable from trigger","categories": "Category IDs","workItems": "Roadmap item IDs",} }

Paste the code snippet into Data
25

Replace the Email address variable from trigger with inserted data from HubSpot

Replace the Email address variable from trigger with inserted data from HubSpot
26

Replace the Project ID with the LaunchNotes project ID

This will be formatted beginning with pro_ and can be found in the URL when in the LaunchNotes management portal

Replace the Project ID with the LaunchNotes project ID
27

Optionally specify categories and/or roadmap items (work items) in the data variables

28

Set Unflatten to No

Set Unflatten to No
29

Add header for "Authorization"

Add header for "Authorization"
30

Set Authorization to "Bearer " followed by your management API token

The management API token can be created and found in LaunchNotes under Settings -> Embed, API & RSS -> API

Set Authorization to "Bearer " followed by your management API token
31

In LaunchNotes, copy a management API to

In LaunchNotes, copy a management API to
32

Paste element

Paste element
33

Click on Add another item

Click on Add another item
34

Add a second Header "Content-Type"

Add a second Header "Content-Type"
35

Set "application/json" as the value

Set "application/json" as the value
36

Click on Continue

Click on Continue
37

Click on Test step

Click on Test step

#

Success 🎉

0 Steps

You'll see the test email address as a new subscriber in your LaunchNotes page, and once this Zap is published it will create new subscribers for all new contacts in HubSpot.

Well done!
Create how-to guides like this in a snap. Get Tango now.