# Zapier integration

**URL:** <https://forum.mautic.org/t/zapier-integration/1717>\
**Category:** 3rd Party Addons\
**Created:** [April 3, 2015, 10:18pm UTC](https://forum.mautic.org/t/zapier-integration/1717 "2015-04-03T22:18:07Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [July 6, 2016, 12:09am UTC](https://forum.mautic.org/t/zapier-integration/1717/141 "2016-07-06T00:09:59Z")

</div>

The problem looks to be with Mautic, especially considering an earlier version works.

I’ve done a rework of the URL’s to use /contact and /segment .

I’ve also tested the both the “Create/Update lead” and “Update lead” actions and both appear to be working as they should.

Have a go with it.

The callback URI for anyone setting up new is now  
[https://zapier.com/dashboard/auth/oauth/return/App42154API/](https://zapier.com/dashboard/auth/oauth/return/App42154API/)  
and invite URL  
[https://zapier.com/developer/invite/42154/7d771cbed0f71a1c802b077e6a5612a4/](https://zapier.com/developer/invite/42154/7d771cbed0f71a1c802b077e6a5612a4/)

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [July 5, 2016, 3:47am UTC](https://forum.mautic.org/t/zapier-integration/1717/142 "2016-07-05T03:47:41Z")

</div>

@sambarnes90 Zapier always uses the latest version of the integration. Try a Mautic upgrade, others were getting the same error on a previous version.

Otherwise what action or trigger from the Mautic integration are you trying to use?

---

<div class="post-metadata">

**Author:** ![sambarnes90](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@sambarnes90](https://forum.mautic.org/u/sambarnes90)\
**Post date:** [July 5, 2016, 6:53am UTC](https://forum.mautic.org/t/zapier-integration/1717/143 "2016-07-05T06:53:21Z")

</div>

Thanks @zpetterd

I believe I’m already running the latest self hosted Mautic - v1.4.1.

(I’m eagerly awaiting 2.0 but haven’t seen it released as of yet for Self Hosted)

I’m using a Google Sheets new row trigger with the “Create/Update a new lead” action in the Zapier integration.

Can anybody confirm the latest callback URL and dev invite just so I can completely confirm it…

Thanks  
Sam

---

<div class="post-metadata">

**Author:** ![sambarnes90](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@sambarnes90](https://forum.mautic.org/u/sambarnes90)\
**Post date:** [July 1, 2016, 2:47pm UTC](https://forum.mautic.org/t/zapier-integration/1717/144 "2016-07-01T14:47:56Z")

</div>

I’m still getting:

```auto
mysubdomain.heliguy.com returned (400) Bad Request and said nothing
```

All the Oauth went through fine, I’ve triple checked I’m using the right version of the app and callback URL.

Do I have to somehow remove previous versions of the V2 before clicking the very latest link to test?

i.e. Does it just update the “Mautic V2” app within Zapier? Or do I have to remove the old one first?

Any ideas?

Thanks for your hard work on this though @zpetterd - awesome stuff!

---

<div class="post-metadata">

**Author:** ![nickwild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nickwild/32/85_2.png) [@nickwild](https://forum.mautic.org/u/nickwild)\
**Post date:** [June 27, 2016, 7:43am UTC](https://forum.mautic.org/t/zapier-integration/1717/145 "2016-06-27T07:43:16Z")

</div>

great many thanks for the link

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [June 23, 2016, 10:34pm UTC](https://forum.mautic.org/t/zapier-integration/1717/146 "2016-06-23T22:34:23Z")

</div>

@nickwild Zapier isnt the tool to use for that, have a read of this [https://zapier.com/help/common-problems/](https://zapier.com/help/common-problems/)

---

<div class="post-metadata">

**Author:** ![nickwild](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nickwild/32/85_2.png) [@nickwild](https://forum.mautic.org/u/nickwild)\
**Post date:** [June 22, 2016, 9:34pm UTC](https://forum.mautic.org/t/zapier-integration/1717/147 "2016-06-22T21:34:45Z")

</div>

This is really great, many thanks for all your hard work on this.

I have a couple of questions for an integration of Mautic and HubSpot CRM…

1. I am trying to sync up so when ANY field in Mautic or HubSpotCRM is changed then those changes are transmitted to the other. In the Zapier Plug in any changes are only reflected on a field by field basis - is this right?

2. I did have the standard Mautic =\> Hubspot working, but now I have installed the Zapier plug in this appears to have stopped transmitting changes from Mautic to HubSpot Crm - is this correct?

Thanks

Nick

---

<div class="post-metadata">

**Author:** ![startfinance](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@startfinance](https://forum.mautic.org/u/startfinance)\
**Post date:** [June 7, 2016, 2:25am UTC](https://forum.mautic.org/t/zapier-integration/1717/148 "2016-06-07T02:25:52Z")

</div>

Hi @zpetterd is there a way I could help work on the Zap? It has massive potential but the search is not working and since this is volunteer work, possibly you need extra hands? Let me know what would work for you so that we could push the Zap to production.

Cheers!

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [June 7, 2016, 9:25am UTC](https://forum.mautic.org/t/zapier-integration/1717/149 "2016-06-07T09:25:12Z")

</div>

@startfinance the Zapier integration is linked to our Zapier account so not really…

I just tested out search and it is working fine when I test it… Where is it going wrong for you? One problem may be if the search returns multiples leads/contacts vs single lead

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [June 18, 2016, 12:38am UTC](https://forum.mautic.org/t/zapier-integration/1717/150 "2016-06-18T00:38:13Z")

</div>

@william1872 are you including the id of the list/segment that you wish to add the lead/contact to? I’ve just double-checked and it is working for me.

The %7B%m7Blead\_list%7D%7D/ part of the URL is normally shown when the list/segment id is not set, there is a bug with auto generated fields and being set to required in Zapier hence it isn’t set as a required field

---

<div class="post-metadata">

**Author:** ![william1872](https://avatars.discourse-cdn.com/v4/letter/w/13edae/32.png) [@william1872](https://forum.mautic.org/u/william1872)\
**Post date:** [June 16, 2016, 6:54pm UTC](https://forum.mautic.org/t/zapier-integration/1717/151 "2016-06-16T18:54:41Z")

</div>

@zpetterd Tried out your zapier method for pushing leads from Mailchimp to Mautic, but I get the following error, any ideas?

All seems to go well up to this point. The auth2 connection url to [map.focalforest.com](http://map.focalforest.com) had https:// in front of it and the connection works well, zapier even sees the lists I have in Mautic and I’ve also tried with the list ID. But I still get the below error.

"Bargle. We hit an error creating a a lead to a list. ☹ Error:  
[map.focalforest.com](http://map.focalforest.com) returned (404) Not Found and said "Requested URL not found: /api/lists/%7B%7Blead\_list%7D%7D/lead/add/2?access\_token=“access token removed by me”

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [June 14, 2016, 9:41pm UTC](https://forum.mautic.org/t/zapier-integration/1717/152 "2016-06-14T21:41:30Z")

</div>

@davidneedham I’m not real sure what is going wrong for you as it works perfectly fine on our v1.4.1 install of Mautic.

Does copy and pasting the search query with any auto-filled data into Mautic’s search work for you?

---

<div class="post-metadata">

**Author:** ![davidneedham](https://avatars.discourse-cdn.com/v4/letter/d/5fc32e/32.png) [@davidneedham](https://forum.mautic.org/u/davidneedham)\
**Post date:** [June 12, 2016, 3:22am UTC](https://forum.mautic.org/t/zapier-integration/1717/153 "2016-06-12T03:22:55Z")

</div>

I just tested search by email address and it keeps returning ID 1 no matter what - even if there is no match.

I don’t see an ID 1. Does that signify an error or something?

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [July 12, 2016, 8:50am UTC](https://forum.mautic.org/t/zapier-integration/1717/154 "2016-07-12T08:50:10Z")

</div>

The code for the Zapier integration has been requested as people worrying about it somehow breaking, it is at [https://github.com/zapur1/mautic-zapier](https://github.com/zapur1/mautic-zapier) the rest if the integration is built up directly in the Zapier interface itself

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [July 18, 2016, 7:39pm UTC](https://forum.mautic.org/t/zapier-integration/1717/155 "2016-07-18T19:39:48Z")

</div>

@zpetterd Looking at the code you shared, the endpoints changed in 2.0 for /api/leads/\* to /api/contacts/\*. That could be part of the issue with it not working.

---

<div class="post-metadata">

**Author:** ![jomargo](https://avatars.discourse-cdn.com/v4/letter/j/439d5e/32.png) [@jomargo](https://forum.mautic.org/u/jomargo)\
**Post date:** [July 21, 2016, 9:09am UTC](https://forum.mautic.org/t/zapier-integration/1717/156 "2016-07-21T09:09:07Z")

</div>

Hi, I’m setting up the zapier integration to receive leads from another platform, but when I test the account, the test account button says “Not working”, and the Test step says “Bargle. We hit an error creating a a new lead. ☹ Error:  
[medicarama.mautic.net](http://medicarama.mautic.net) returned (404) Not Found and said nothing”.

I have a Hosted intallation at [Mautic.net](http://Mautic.net). Any Clue?

The config I’m using is:  
On Mautic:  
The callback URI for anyone setting up new is now  
[https://zapier.com/dashboard/auth/oauth/return/App42154API/](https://zapier.com/dashboard/auth/oauth/return/App42154API/)  
and invite URL  
[https://zapier.com/developer/invite/42154/7d771cbed0f71a1c802b077e6a5612a4/](https://zapier.com/developer/invite/42154/7d771cbed0f71a1c802b077e6a5612a4/)

On Zapier:  
domain: [https://medicarama.mautic.net](https://medicarama.mautic.net)  
Public & Secret as indicated by mautic

---

<div class="post-metadata">

**Author:** ![erikpixel](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@erikpixel](https://forum.mautic.org/u/erikpixel)\
**Post date:** [July 22, 2016, 8:01pm UTC](https://forum.mautic.org/t/zapier-integration/1717/157 "2016-07-22T20:01:16Z")

</div>

Hi,  
i’m getting this error when trying to connect with Zapier:

auto.digitalpixel.com.br returned (404) Not Found and said “Requested URL not found: /api/leads?limit=100&orderBy=date\_modified&orderByDir=DESC&access\_token=ODg2MjI5MDZjNjkzYzViOWIzYjY2YWQ4OWYwZGRhZGM5ZWNiYWFjYzdmYjc4NmI5YzQwZDA2YTBiMTg3NDY3YQ”  
You should try reconnecting your Mautic API V2 account!

Im using Mautic 2.0.1

The API is enabled in Mautic Panel, and using the URL:

[https://zapier.com/dashboard/auth/oauth/return/App42154API/](https://zapier.com/dashboard/auth/oauth/return/App42154API/)

Any idea?

In url:

“error”:“invalid\_grant”,“error\_description”:“The access token provided has expired.”

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [July 23, 2016, 8:05am UTC](https://forum.mautic.org/t/zapier-integration/1717/158 "2016-07-23T08:05:55Z")

</div>

Hey guys,

Does anyone know when the Mautic/Zapier plugin will be fixed? 🙂

---

<div class="post-metadata">

**Author:** ![marzio](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marzio](https://forum.mautic.org/u/marzio)\
**Post date:** [July 25, 2016, 3:26pm UTC](https://forum.mautic.org/t/zapier-integration/1717/159 "2016-07-25T15:26:11Z")

</div>

I have the same question

---

<div class="post-metadata">

**Author:** ![zpetterd](https://avatars.discourse-cdn.com/v4/letter/z/f14d63/32.png) [@zpetterd](https://forum.mautic.org/u/zpetterd)\
**Post date:** [July 27, 2016, 5:21am UTC](https://forum.mautic.org/t/zapier-integration/1717/160 "2016-07-27T05:21:55Z")

</div>

I’ve changed all the references to lead to contact (list to segment as) in both the URL’s and the descriptions so it will be looking slightly different.

@erikpixel go to the top right where you see your name then “Connected accounts” and then press the button to reconnect your account and it should be working again.

@jomargo make sure you are using the integration named “Mautic API V2” if you are using v2.

Generally you will also need to be using v2.0.1 of Mautic

The redirect URI is now [https://zapier.com/dashboard/auth/oauth/return/App43460API/](https://zapier.com/dashboard/auth/oauth/return/App43460API/) and invite link [https://zapier.com/developer/invite/43460/9a4d44ae0e3aff741b647237a2a6883e/](https://zapier.com/developer/invite/43460/9a4d44ae0e3aff741b647237a2a6883e/) for those setting up new

[Previous page](https://forum.mautic.org/t/zapier-integration/1717.md?page=7)

[Next page](https://forum.mautic.org/t/zapier-integration/1717.md?page=9)
