Skip to main content

Hi All, 

I am pretty new to automation with zapier - I am working on a zap to accomplish the following:  When a deal is marked as closed won in Hubspot Deals, I would like to create a zap that automatically pulls the line items, quantities, and prices from the individual deal and sends them over to my ERP - Unleashed software, to create a sales order for my logistics team.  

 

I have set it up to trigger every 15 minutes and look for a new deal in this stage.  Then I asked CoPilot to help me (maybe this is where I went wrong) and I added a “Find Associations” step.

Here is my configuration for “Find Associations” 

Then I created a loop from Text - I wasn’t sure what to put for the “values to loop” setting so I put in 50 (my thinking was we have max maybe 20 line items on the biggest deal) and here are my other settings on that page:

 

It seems to loop correctly and spits out an array of the line item IDs.  I then added a Find Line_Item step and this is where I keep getting an error.  I’m very confused and not sure how to configure this setting correctly, and I don’t want to bother the devs at my company with this, so any help is greatly appreciated!  Here are my settings for Find Line_Item step. 

I think I am selecting the incorrect “First Search Property Value” but I’m at a loss - I have tried a number of the different options with no success.  Here is the error message that  keeps popping up: 

 

Thanks again to anyone who has suggestions!

Hey ​@owat91 ,

 

You have mapped another value from Action 3 here. Look for a value that contains single id.

 

 


Hi Owat91,

Sorry to crash your post. Have you been able to get data out of unleashed using Zapier? I have tried successfully to connect to Unleashed using Postman. But when I try generating the signature code in Code and pass it in the Webhook it fails with an error 403.

I am looking for any hints or clues to resolve this.


Hi ​@Lee.H,

 

Welcome to the Community.

To troubleshoot a 403 error when connecting Zapier to Unleashed via a webhook. To resolve this, verify your API key and secret, ensure proper signature generation, and confirm timestamp and nonce values. Check that all required headers, including authorization, are correctly formatted and that the endpoint URL matches Unleashed's API documentation. Ensure your account has sufficient access rights, and consider potential rate limits. If the issue persists, contacting Unleashed's support team might provide further insights.

I hope these suggestions help you resolve the issue. If you have any further questions or need additional assistance, please feel free to ask.


Hi Jammer,

Thanks for the suggestions relating to my issue. I have looked into this already and is the stock answer in their documentation. I have tried Unleashed support and haven’t got anywhere with this either.

To confirm I have been able to get this to work in Postman. Doing GETs and POSTs via Postman completely works. I have had to add a pre-request to generate the API Signature and this all works. The issue I have had is trying to translate this into Zapier. The process is run Code then run the HTTP step. everytime it runs I get the error 403. 

I had hoped that someone had already got past this and it might be something I missed.

 


Hi ​@Lee.H,

 

To integrate Unleashed with Zapier successfully, ensure that your API key and signature match what you used in Postman, as any discrepancy can lead to a 403 error. Since you've used a pre-request script in Postman to generate the API signature, you'll need to replicate this in Zapier using a "Code by Zapier" step with JavaScript or Python before the HTTP request. Verify that headers like Authorization and Content-Type are correctly set, and confirm the endpoint and method align with your Postman tests. If the issue persists, reviewing error messages for more details or contacting Zapier support with your setup specifics may help resolve it.