Zapier integration

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/
and invite URL
https://zapier.com/developer/invite/42154/7d771cbed0f71a1c802b077e6a5612a4/

@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?

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

I’m still getting:

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!

great many thanks for the link

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

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

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!

@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

@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

@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 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. :frowning: Error:
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”

@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?

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?

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 the rest if the integration is built up directly in the Zapier interface itself

@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.

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. :frowning: Error:
medicarama.mautic.net returned (404) Not Found and said nothing”.

I have a Hosted intallation at 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/
and invite URL
https://zapier.com/developer/invite/42154/7d771cbed0f71a1c802b077e6a5612a4/

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

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/

Any idea?

In url:

“error”:“invalid_grant”,“error_description”:“The access token provided has expired.”

Hey guys,

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

I have the same question

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/ and invite link https://zapier.com/developer/invite/43460/9a4d44ae0e3aff741b647237a2a6883e/ for those setting up new