[SalesForce] AMPScript and email templates

Everything with AMPScript…

Is it possible to send an email with custom fields?

I develop a landing page with a lot of input fields… I was wondering if it is possible to send a template-based email with some custom fields (from inputs of before), like a contact form page

I read this: Create a Triggered Send for an On-Your-Behalf-Account

and this: Create a Triggered Send Using AMPScript and the SOAP Web Service API

but I don't understand those examples…

Thank you!

Best Answer

Short answer, yes. You'll need to:

  1. Create a Triggered Send-Templated Data Extension that contains the columns from your form
  2. Create a Triggered Send Definition that points to your email and the Triggered Send-Templated Data Extension
  3. Start your Triggered Send Definition
  4. In your landing page, add the AMPScript API code to fire off the email with the attribute values from your form.
Related Topic