Integrating a custom form with ECM service provider


(Ryan Archer) #1

Is there a way to collect email addressess through a Squiz Matrix custom form and forward them over to an ECM provider like Campaign Monitor so that the process is automated?

We want to have a subscription form setup in our Squiz Matrix website that will collect email addresses and then automatically add them to a Campaign Monitor user database for sending out 'campaign' email newsletters.

 

Thanks.


(Aleks Bochniak) #2

Yup - have a look at the custom form submission actions and see if you can use one with a campaign monitor api


(Ryan Archer) #3

Thanks Aleks. I am unfamiliar with the submission actions but just to confirm, I go to the 'Submission Actions' of the custom form and I would need to "Add New Action".

I'd imagine it would be to make SOAP call or call REST resource then? Those are the only options that seem to make sense to me.


(Ryan Archer) #4

Think I have found something useful here https://www.campaignmonitor.com/blog/email-marketing/2006/03/tip-capturing-subscribers-from/but it seems to me that I need access to the PHP code under the hood.

Not sure if "Submission Actions" is the best way forward.


(Bart Banda) #5

Have a look at https://www.campaignmonitor.com/api/getting-started/. 

 

They do talk about specific wrappers for PHP, but from my quick read it sounds like all you really need is Oauth authentication and then a REST call which Matrix can handle without any custom PHP.


(Eric) #6

Cuirious if you got it to work? Also is th reason you don't just embed little form supplied by Campaign monitor?


(Bcnr33) #7

hey guys,

 

just like to know if possible to have matrix trigger via api to CM and generate a email. kind of like an ad-hoc RSS feed.

 

 

so each time an asset is moved to Live status it will send an email to a subscriber list in CM, like an ad-hoc RSS feed. due to constraints / limitations we are not making the page an RSS feed.

 

i am still quite green at this so excuse my ignorance.

 

i have read the squiz manual web page and CM API pages end to end so many times i have a headache.

 

thanks in advance.

 

KMT


(Bart Banda) #8

You could use a trigger action to make a call to CM and send an email when an asset is set to live? Check out 

https://matrix-manuals.squiz.net/triggers/chapters/trigger-actions#Send-Email

https://matrix-manuals.squiz.net/triggers/chapters/trigger-actions#Call-REST-Resource