Best answer

Fetch data from amoCRM via Zapier


Userlevel 1

What is the correct way to fetch list of leads from amoCRM via Zapier?

I’m not a developer and I will be grateful for the detailed answer.

Thanks.

icon

Best answer by andywingrave 8 May 2020, 12:43

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Userlevel 7
Badge +9

Hey there you can fetch an individual lead with the Zapier integration, or alternatively, you could use their API and Zapier’s webhooks to fetch a list of leads:

 

Webhooks: https://zapier.com/apps/webhook/integrations

API: GET/api/v2/leads

https://www.amocrm.com/developers/content/api/leads/

 

Userlevel 1

Hey there you can fetch an individual lead with the Zapier integration, or alternatively, you could use their API and Zapier’s webhooks to fetch a list of leads:

 

Webhooks: https://zapier.com/apps/webhook/integrations

API: GET/api/v2/leads

https://www.amocrm.com/developers/content/api/leads/

 

Thanks, it is clear. But my question is how to do it via amoCRM API in Zapier’s ZAP?

Userlevel 7
Badge +9

You would use a Webhook action

 

https://zapier.com/apps/webhook/integrations

This is a technical solution and would require some knowledge of how APIs work, unfortunately. But effectively, once the trigger happens, you would use the webhook to call the API, and that would return the list

 

Userlevel 1

You would use a Webhook action

 

https://zapier.com/apps/webhook/integrations

This is a technical solution and would require some knowledge of how APIs work, unfortunately. But effectively, once the trigger happens, you would use the webhook to call the API, and that would return the list

 

In amoCRM digital pipeline, I added webhook when lead status changed.
In Zapier I use this webhook to define lead ID and after that, I need to match this lead with lead from the list (using API: GET/api/v2/leads) and write the fetched data into the worksheet. 

In this case, I need to understand, how to do this in Zapier (!).

Maybe you can provide similar examples so that I can try to implement this through amoCRM in Zapier interface?

Userlevel 7
Badge +9

Hey! Does this help?

 

Userlevel 1

Hey! Does this help?

 

Thanks, I think it can be a solution. But could you also please assist me with the “basic auth” string format for amoCRM? In different cases I get “Status Code 401 Unauthorized”

 

 

Userlevel 7
Badge +9

Hey! Sure - I’d recommend you read their API docs - Because this is a completely separate topic I’m afraid. If you’ve done that, and are still stuck, feel free to reach me, or another Zapier expert via the Experts page here: 

 

https://zapier.com/experts/