To set up this Zapier workflow you will need to have a subscription for Dealfront, a premium subscription to Zapier, login information to your CRM, as well as a custom field (text type) in your CRM to receive tags (here we have it in HubSpot for a Company).
STEP 1: Login into Zapier and create a new zap.
STEP 2: Name your zap.
STEP 3: Choose Zapier step 1 - a trigger called "Schedule by Zapier" and set the event to "every day".
STEP 4: Choose if you want to trigger the zap on the weekends as well and what time of the day.
STEP 5: Test the trigger and click Continue when the test is successful.
STEP 6: Add Zapier webhooks as Zapier step 2. Webhooks will help get all the identified companies (from a specific feed) that are used as input for the processing and updating of the CRM entities.
STEP 7: Choose event "GET" as we will be getting information from Dealfront.
STEP 8: We will use the following API endpoint. (For more Dealfront API endpoints please visit API documentation.)
https://api.leadfeeder.com/accounts/......../custom-feeds/................................/leads?start_date=......................&end_date=.....................&page%5Bsize%5D=10
We recommend creating your API endpoint in notes first and then copying it over to Zapier.
a) Please remember that you need to change the account id (blue) and custom feed id (red). You will find all this information in the URL when you open the custom feed in your Dealfront account, or when you Edit a custom feed and click the Gear icon at the bottom left, then you will find the feed id.
b) Please note to change the start date and end date (yellow and green respectively). This can be also done dynamically by adding Date/Time in Formatter in Zapier. This is a separate step that would be added before the Webhooks by Zapier which is step 2 (and in that case, you will have 6 steps altogether).
In that case, the URL in step 3 would be changed as follows:
c) Number of companies per page is 10 by default.
STEP 9: Set up the following fields together with the headers.
For the headers, please follow the API documentation and use your API token which you will find in your Dealfront web application personal settings/personal/API token.
Copy your API token instead of the red area below.
STEP 10: Test the action and then click Continue after your test has been successful.
STEP 11: The next connection is Looping by Zapier - Zapier step 3 (it will be Zapier step 4 with dynamic date and time). We need to loop through your identified companies to find those companies that have had their tags updated in Dealfront.
STEP 12: Choose "Create a loop from line items".
STEP 13: Set up values to loop through connecting them to data from Zapier step 2 - Webhooks (it will be Zapier step 3- Webhooks if you use dynamic date/time). LeadID and CRMID will be used as input for the upcoming operations so that we can get details out of a specific company.
If you use the dynamics set up it will look like this:
Please make sure the "Data Attributes...Organization ID" has a number there. If you have duplicates of the same company we are testing in your CRM, it won't work and the "Data Attributes...Organization ID" will have no number there).
Keep the following inputs as they are, then click Continue.
STEP 14: Test the action.
STEP 15: When the test has run successfully, add another webhook as Zapier step 4 (it will be Zapier step 5 if you use dynamic date/time). It will be used to extract details of a specific company from those in our custom feed. We will use the input data from the loop to get to that specific company.
Choose event "GET" and click continue.
STEP 16: Set up an action to build a new API endpoint using lead id from the looping part (Step 3).
Keep all the other data the same.
If you use the dynamic date/time it will look like this:
Set up headers/Authorization as per Step 9.
STEP 17: Test the action.
STEP 18: Connect this to your CRM in Zapier step 5 (It will be Zapier step 6 if you use dynamic date/time) - here we will use HubSpot.
STEP 19: For the event choose "Update company".
STEP 20: Choose your CRM account. Usually when you login into your CRM account in a different browser tab, Zapier can connect easily to your CRM account.
STEP 21: In the Step Details, fill out the Object ID by connecting to Data Attributes CRM Organization ID from Webhooks - step 4. Please make sure not to use the Webhooks step 2! Also, fill out the field you want to update - in this case, it is the "tags" field (this is a custom field in HubSpot of multiline text type) with the Data Attributes Tags from the Webhooks step 4.
Here we are getting the Object ID that will have a unique match in the CRM so that we can update its fields. That will be provided via the outcome of the GET operation inside the loop.
Choose the custom fields that should be updated in your CRM. In this case, we use the custom field "tags".
If you use dynamic date/time it will look like this:
STEP 22: Test the action.
STEP 23: Switch on the zap and let it do its magic :-).
Please note: If you want to send a time stamp, then have a custom field in your CRM to receive it and send it in Zapier step 6. The time stamp will be overwritten with every visit.
--
Questions, comments, feedback? Please let us know by contacting our support team via the chat or by sending us an email at support@dealfront.com.
RELATED: