Zapier integration

Also, it would be cool if the Mautic/Zapier integration would enable filling in Mautic forms or user fields (like zapier can do with the Hubspot integration).

@menolo if you have a trailing slash then it must be not including http:// or https:// at the start of the URL, unless your using mautic.com where the endpoint might be different to self-hosted sites.

What are you thinking by with the form filling? If you are using a Mautic action then that data should be avaivle there some goes for creating a lead in Mautic from data, it would kind of be pointless without!

Zac

[quote=1486:zpetterd]@menolo if you have a trailing slash then it must be not including http:// or https:// at the start of the URL, unless your using mautic.com where the endpoint might be different to self-hosted sites.
[/quote]
I’m using a selfhosted installation. I’ve tried both https:// and http://, both without a trailing slash.

I’ve used a zapier integration between Eventbrite and Hubspot. An attendee can register for an event in Eventbrite. Zapier makes sure a (new) lead is created or updated. Meanwhile loads of other info from Eventbrite is set/updated in the lead’s custom user fields.

If I’m correct (it’s been a while since working with HS), the same Zapier integration could be used to fill in a Hubspot form with Eventbrite data. Where Zapier would dynamically get the form field and map them to Eventbrite data.

The only thing I can thinkin of is that you are putting in the wrong domain URL, can you try and access (using say Chrome or Firefox) http://example.com/api with http://example.com being your site instead? You should get a error message about OAuth authentication being required.

The other options is that you don’t actaully have the API enabled on your site go into “Configuration->Api” in the right side bar and check that “API enabled?” is Green and Yes and the API mode is OAuth2.

That type of integration is already there, it won’t dynamically match the fields (like many other Zapier apps) but if you create a zap with a Eventbrite “New submission” trigger and Mautic “Create a new lead” action it should work (it may not handle updating the leads though, yet to use that myself).

Zac

Ah doh! It was set on OAuth1. Thanks! It works like a charm!

[quote=1488:zpetterd]That type of integration is already there, it won’t dynamically match the fields (like many other Zapier apps) but if you create a zap with a Eventbrite “New submission” trigger and Mautic “Create a new lead” action it should work (it may not handle updating the leads though, yet to use that myself).
[/quote]
Thanks Zac. It would be cool if Zapier would be able to use all the Mautic core lead fields (also the custom added ones). That does not seem to be the case, right?

Wim

[quote=1489:menolo]
Thanks Zac. It would be cool if Zapier would be able to use all the Mautic core lead fields (also the custom added ones). That does not seem to be the case, right?

Wim[/quote]

It should be able to use all the core Mautic fields, not all of them have so pretty name, custom ones could be possible down the road, it would require a bit of messing with the data. Click one of the dropdowns next to a text field and you should start to see all the field name and also what value has been found.

Zac

Thanks Zac! Figured it out. I see the fields showing up if Mautic is in the trigger app. They do not show up when Mautic is the Action app.

Furthermore, when Mautic is the trigger app there are tons of fields showing up with my leads IP addresses named:

"IP addresses x.x.x.x Ip Details Organization" "IP addresses x.x.x.x Ip Details City" "IP addresses x.x.x.x Ip Details Country" "IP addresses x.x.x.x Ip Details Timezone" "IP addresses x.x.x.x Ip Details Region" "IP addresses x.x.x.x Ip Details Longitude" "IP addresses x.x.x.x Ip Details Latitude" "IP addresses x.x.x.x Ip Details ISP"

I think you might need to have a look at the Zapier documenation about how to build a zap.

When Mautic is the trigger you will have all (literally everything Mautic spits out, search is useful, I have named some of the common fields) the data from the Mautic trigger which you can then use in the fields of the action app, whatever that may be. When using the Mautic “Create a lead” actions you have the data that is available from the action app (whatever that is), that you can put into the Mautic action, at the moment the fields are just the basic ones.

Have a look through the Zapier documenation, if you are still having trouble take some screenshots of what you are seeing and what you are trying to achieve.

Zac

Thanks Zac, I’ve been able to accomplish what I needed to thanks to the integration. I’ll have a look at the docs, interesting stuff.

Wim

This is great! Thank you!

I am having a little trouble with it…It is creating all new leads as Anonymous? I saw a comment earlier in the thread about this. How was it resolved? I setup a Zap to create new lead in Mautic when I add a contact to Google Contacts.

Thanks again!

Hi Zac -

Here’s a screenshot of my zap setup:

https://drive.google.com/file/d/0B98I41z7Kf3cdC1tSnZTUmdidjZLY3NSNDNiSWhIWEJsYTVR/view

I just recently added text to the Last Name field to see if that would work (previously it was blank and not working), however now I am having some unrelated issues with my Mautic installation. As soon as I clean those up, I will let you know how my testing goes.

Anything else I should try?

Thank you!

Just looking at the screen shot you sent through, if you change the trugger to the “New lead with data” trigger instead, it only triggers once the lead has first and last name and a email address, if you are looking for a different combination let me know.

Zac

I’m using Google contacts trigger to the Mautic create new lead action like this https://drive.google.com/file/d/0B98I41z7Kf3cYUxWNEl2R01lbTA/view?usp=sharing

And when it creates the new lead in Mautic it’s anonymous. I made sure to fill in first name, last name, and email.

this is what is being created in mautic:

https://drive.google.com/file/d/0B98I41z7Kf3cNkRzZUVWUnpWVEE/view?usp=sharing

Would you be willing to share your zapier development settings/code so that I can troubleshoot directly and let you know what I find?

https://zapier.com/dashboard/auth/oauth/return/App20876API/ is correct for the callback URL, I must have copied the old one out.

Let me know if you run into any problems or you would like to do anything more with it

I have managed to get it working and also added some more functionality to the “Create a new lead” action, it now actually works and also picks up on any custom fields that you may have.

It appears the the app development is all attached to the account itself so I’m not able to share that with you as it is our main Zapier account. Code wise there is a bit of Javascript that re-formats the data but that is really it.

The invite link has changed once again to the following

https://zapier.com/developer/invite/20876/52e3e3c62a295f454027b250bf9862ba/ with the callback URL now being
https://zapier.com/dashboard/auth/oauth/return/App20258API/

Let me know if it all works for you,
Zac

Hi Zac -

I am getting the following error: {“error”:“redirect_uri_mismatch”,“error_description”:“The redirect URI provided does not match registered URI(s).”}.

I used the new callback URL you provided.

What am I doing wrong!

Works perfectly! Thank you!

The redirect URL provided didn’t work. It should be: https://zapier.com/dashboard/auth/oauth/return/App20876API/

This seems to be really useful as I should be able to connect Mautic to Pipedrive which is the sales CRM we’re using.
However, I would need to be able to use custom fields that I have created, like “Lead Source”. Is that something you’re considering adding or actively working on?