HTTP
Frends templates for HTTP. HTTP is a communication protocol between web browsers and servers for transmitting data.
This template exports the customers from Shopify and imports them to HubSpot as contacts.
Using this template, you can insert customer data from Shopify to HubSpot.
This template assumes that the following prerequisites are in place:
Shopify access token is accessible.
HubSpot user exists for performing the synchronization.
HubSpot access token is accessible.
This template uses HTTP requests GET, PATCH and POST to perform operations on both Shopify and HubSpot. GET is used to retrieve customer information from Shopify. POST is used to filter the search data in HubSpot by Shopify customer email and to insert new contact data to HubSpot. PATCH is used to update existing contacts' data with the new information from Shopify.
Other operations are not performed by the template.
Process variables include base urls and access tokens for both Shopify and HubSpot.
Each task is followed by an error check. If an error occurs while handling a customer, the handling will stop and the next customer will be taken for handling. All encountered errors will be appended to the exception variable and shown at the end of the process.
Connection retries and exception throws are turned on by default in searching the HubSpot contacts for matching email, because the search API endpoints are rate limited to four requests per second per authentication token.
If any other transient errors are expected, retries for can be enabled from the tasks. Transient errors are not handled.
ShopifyBaseUrl | The base url for Shopify. |
ShopifyAdminToken 🗝 | The admin token for Shopify. |
HubspotBaseUrl | The base url for HubSpot API requests. |
HubspotAccessToken 🗝 | The access token for HubSpot. |