Zapier integration

Hi all,



I have gotten a basic Zapier integration going. At the moment it can create a lead and also be triggered when a lead is created (customise it with the filters).



If you want to have a go use the following link to get access to the app https://zapier.com/developer/invite/19297/1d042feafbdb968c7aae97431b908f7c/



Development wise/requested features where is the best spot for people to request added features (Github doesn’t feel like the right spot).



Let me know how it goes, the app explains what you need to do to get it setup. Basically turn on Oauth V2 in the site settings and generate some API credentials for Zapier using the given callback URI.



Zac

I’ve done a little bit more testing. I’m still getting Anonymous leads that are being created from the zap. I’m not sure where to go from here? Any ideas?

I haven’t actually tested the functionality myself so let’s do some troubleshooting… Have you linked the data from Google contacts to the fields that are shown when creating the zap so Zapier knows what needs to be linked data wise?

A screenshot of how the zap is setup could be good, it shouldn’t be showing private data so you should be safe there.

Zac

Hi all,

I have gotten a basic Zapier integration going. At the moment it can create a lead and also be triggered when a lead is created (customise it with the filters).

If you want to have a go use the following link to get access to the app https://zapier.com/developer/invite/19297/1d042feafbdb968c7aae97431b908f7c/

Development wise/requested features where is the best spot for people to request added features (Github doesn’t feel like the right spot).

Let me know how it goes, the app explains what you need to do to get it setup. Basically turn on Oauth V2 in the site settings and generate some API credentials for Zapier using the given callback URI.

Zac

Hi Zac,

This is awesome! Thanks for writing that integration as it’s been asked for many times :slight_smile:

I just added a 3rd party channel where you can announce the addon so the community can discuss it. Will that work for you in discussing development and features?

If you need any support or help with further development integrating with Mautic, definitely let us know! We are working on developer documentation so I know you had to do some digging/reverse-engineering to get it going :slight_smile:

Thanks!
Alan

You may also want to give a shout out on https://github.com/mautic/mautic/issues/41 where it’s been requested as a feature so those following know how awesome you are :slight_smile:

Thanks!
Alan

Thanks guys, it is still pretty basic and the fact that Zapier will only act on new items is kind of making it painful (I’ve come up with a workaround)

I can add features as people see/want them rather than developing a bunch of actions and triggers that no one will use.

The api was pretty easy to find once I found the app/Bundles folder :slight_smile:

This is awesome!

Awesome that this is started, although I’m having some issues with using it.

When I get to adding my Mautic API keys, the screen pops up to log in, and then I get;

{“error”:{“message”:“Client not found.”,“code”:0}}

I’m not able to get any further forward :frowning:

Ruth

Hi Ruth,

Zapier has changed around the the OAuth return URI to https://zapier.com/dashboard/auth/oauth/return/App19757API/ , I’ve updated the description on the setup page as well. Are you getting the error before or after you login to your Mautic install? If it is before double check you are putting in your sites URL correctly.

Some screenshots could be great!

Hopefully that works/gets it closer

Zac

Hi Zac,

I get an authentication failure when I test the zaps - is there any way to push the Mailchimp users into Mautic once it’s set up?

Ruth

Hi Ruth,

Do you get through logging into your Mautic account?
Have you double checked that the Public key and Private key are correct?
I had issues with it not working when I was editing the API endpoint under Mautic at the same time as trying to connect Zapier… (i.e. you need to be on your http://mysite.com/s/credentials page
Is this on your own hosting or Mautic.com?
Have you setup the API keys under “API Credentials” in Mautic?
Are you including the https:// or http:// in the site URL?

Zapier is only able to transfer new data so no you wouldn’t be able to transfer it from Mailchimp, you can do it for new users though. There is a way around this using CSV file exports and imports though.

I have Zapier working currently with our install so that means the integration as a whole is definitely working.

Zac

Hi Zac,

Thanks for setting up this zapier integration. I’ve set it up, but I’m getting anonymous / blank data showing up in mautic as leads instead of leads from the test zaps.

Have you seen this before?

This is one of the zapier sample entries (that some spammer filled out on my form):
https://www.dropbox.com/s/6lx8v4pkvrjtssa/Screenshot%202015-04-23%2006.54.27.png?dl=0

I ran all three sample zaps and they came through like this:
https://www.dropbox.com/s/32ck0pbfbx3d9de/Screenshot%202015-04-23%2007.00.13.png?dl=0

Hi Michael.

Which Zap are you using, I haven’t fully tested the actions yet. If you are using the triggers then have a go with the trigger named New Lead with data, as you probably know a lead is created when it is still Anonymous, this bypasses that by only considering the lead when it has a first name, last name and email address.

I’ve just pushed through the latest version through so if you are reauthenticating Zapier you will need to change the OAuth Redirect URI.

Zac

Hi,

Is there an update to these links to zapier? They are no longer working. Thanks!

Hi,

I hadn’t realised that the invite URL changed with doing the app updates. The new invite URL is https://zapier.com/developer/invite/20258/a80b6c807fc21607860af4b4283b07be/ and use https://zapier.com/dashboard/auth/oauth/return/App20258API/ as the OAuth redirect URI, just in case.

Could you let me know how you go?? I’m not real sure if anyone else other than me has had much success and it would be good to get some feedback.

Zac

I get “{“error”:{“message”:“Sorry! The requested URL was not found.”,“code”:0}}” in the pop up window after entering the URL and keys generated by Mautic…

Could you double check what URL you are putting in for your site one? It should include either http:// or https:// and not have a trailing / .

That error message means that Zapier isn’t able to access your site

Zac

I had a trailing / and all is now working, thank you very much…

I too get this error

"{"error":{"message":"Sorry! The requested URL was not found.","code":0}}"

in the pop up window after entering the URL and keys generated by Mautic.
No trailing slash in the Domain field.
The domain is available.
Is there a way to debug this?