https://support.integry.io/hc/en-us/articles/16486882109337-What-is-a-Dynamic-Tag-
Storage allows you to store and get data entries from our data store. The data is usually stored in the form of key-value pairs.
We will create a flow: "When a subscriber is created or updated in Mailchimp, create or update a contact in HubSpot respectively."
- Go to the Flows tab from the top menu.
- Create a new flow.
- Add Mailchimp trigger "Subscriber Created."
- Connect your Mailchimp account.
- If you don't have one, you can sign up for free.
- Select the audience where the subscriber will be created.
- Click Test.
- You will see a success message if Integry receives a trigger from Mailchimp. Click Done.
-
Search and select HubSpot.
- Add the action "Create Contact."
- Connect your HubSpot account.
- If you don't have one, you can sign up for free.
- If you don't have one, you can sign up for free.
- Add the Email, First name, and Last name of the new contact.
- Add the additional attributes of the contact.
- This is an optional field and can be left empty.
- Select the List to which you want to add the new contact.
- Click Continue.
- Click Test.
- You will receive a success message when a contact gets created in HubSpot. Click Done.
- Click on the "Add Step" button.
-
Search and select "Storage."
- Add the action "Set Value."
- This sets the value in the storage to be retrieved later by the key.
- A unique key-value pair for the object is created in Integry’s storage.
- Enter Namespace for separating key-value pairs.
- You can save the same key in different namespaces in an integration with different values.
- This is an optional field and can be left empty.
- Enter the 'Key' name by adding a tag of 'id' from Mailchimp.
- Click on the '+' sign on the far right of the Key field, click Subscriber Created, Obj, Contact_v1, and then id. Click on "Add to Field" to add the contact id as a dynamic tag.
- Learn more about how to add dynamic tags here.
- Enter the key 'Value' by adding a tag of 'id' from HubSpot.
- Click on the '+' sign on the far right of the Value field, click Create Contact, Obj, Contact_v1, and then id. Click on "Add to Field" to add the contact id as a dynamic tag.
- Providing 'Key' and 'Value' will store this entry in the storage app as a key-value pair in our data store.
- Specify if the key name is case insensitive.
- It takes the input TRUE or FALSE.
- This is an optional field and can be left empty.
- Specify if the key value is case insensitive.
- It takes the input TRUE or FALSE.
- This is an optional field and can be left empty.
- Click Continue.
- Click Test.
- You will see a success message when the key value has been stored in Integry's storage. Click Done.
- Click on the three-dots menu in the far right corner of the Mailchimp trigger and then click "Add Step."
- Add the Mailchimp trigger "Subscriber Updated." You can test this step and view the output. Click Done.
- Follow steps 18-20 to add the 'Get value' action in the child step.
- This action retrieves the data stored in ‘value’ against any given ‘key’ or vice versa.
- The opposite is useful in two-way sync cases.
- If you update a contact in Mailchimp, the Get Value action will fetch Mailchimp's updated subscriber's record from Integry's data store and then find the corresponding contact in HubSpot so that the change can reflect there as well.
- Provide the key that was previously stored for the subscriber.
- Click on the '+' sign on the far right of the Key field, click Subscriber Created, Obj, Contact_v1, and then id. Click on "Add to Field" to add the contact id as a dynamic tag.
- Click on the '+' sign on the far right of the Key field, click Subscriber Created, Obj, Contact_v1, and then id. Click on "Add to Field" to add the contact id as a dynamic tag.
- Select if you get a 404 error if the key is not found.
- Click Continue.
- Click Test.
- You will receive a success message when the HubSpot contact's data stored in ‘value’ against Mailchimp 'id' key is retrieved.
- Click Done.
- Click on the "Add Step" button.
- Add the HubSpot "Update Contact" action by following steps 8 and 9.
- Enter or select the contact you want to update.
- Click on the '+' sign in the right corner of the 'Contact' field, then click on 'Get Value', then 'Out' and then add the tag 'value'. Click Continue.
- Click on the '+' sign in the right corner of the 'Contact' field, then click on 'Get Value', then 'Out' and then add the tag 'value'. Click Continue.
- Enter the Email, First name, and Last name of the contact.
- Add the additional attributes of the contact.
- This is an optional field and can be left empty.
- Select the List in which the contact will be updated.
- Click Continue.
- You can test this step and view the Test Result where the same contact that was updated in Mailchimp has been updated in HubSpot.
Comments
0 comments
Please sign in to leave a comment.