I have ExactTarget for Salesforce enabled and I'd like to create a Task record whenever someone clicks on a particular link in my email template.
I am aware that AMPscript allows me to create a record in SFDC through 'CreateSalesforceObject' and wanted to know if there was a way to trigger such code through clicking a 'Meet Rep' link in my email.
My AMPscript code as of now (I am aware this is static, but I'm using this for testing purposes):
%%[ var @id set @id=CreateSalesforceObject("task", 3, "WhoId","003w0000018b98p","Subject", "A Customer Has Requested a Rep Meeting", "Owner", "00520000001Vp3O", "Description", "A customer has requested a meeting with a Rep"))]%%
Basically, I send email -> client receives email -> client clicks 'meet rep' link on email -> AMPscript is triggered -> Task Record is created in SFDC
Is it possible to make this happen? If so what code do I need to add to my HTML email template as to trigger the AMPscript? Can anyone provide a pointer to how this can be written?
Thank you for your time and I'm extremely grateful for any help!