I have a landing page with a smart capture form on it. Upon the form submission, the smart capture simply sends the details into specific data Extention. Now, is it possible to create a 'Lead' object as well once the form is submitted? I have been trying to use the CreateSalesforceObject function here but it seems not working with the smart capture form as the self-generated Html code is not supported in the function. Can someone please guide how to achieve this requirement? I would be extremely thankful.

  • 1
    This looks very much as a copy of your question from few weeks ago. Please refrain from asking same, or very similar, questions multiple times. Once you gain sufficient reputation, you will be able to put bounty on it to attract attention. However for now, patience is the only way. – Lukas Lunow Oct 12 '20 at 11:39
  • @LukasLunow extremely apologize for this act but I am totally stuck at this point. please try to understand the problem and if you know any solution. I would be thankful to take that. – MikeT Oct 12 '20 at 13:30
  • Are you comfortable doing a custom solution with Ampscript? If yes - this is a way to do it: sfmarketing.cloud/2019/09/22/… – Lukas Lunow Oct 12 '20 at 13:31
  • Hi @MikeT - as mentioned earlier, I don't think that's possible, as this function would have to be added post-submit and it doesn't seem we can edit this bit in SmartCapture. Why are you insisting on using SmartCapture, is it because of the Journey Builder functionality? This too can be added to a custom form. – zuzannamj Oct 12 '20 at 14:08

Although the documentation says it's possible to add Smart Capture Form Actions, I wasn't able to find that option anywhere.

UPDATE: Seems above is outdated, as it only works with Smart Capture in classic content view in Marketing Cloud Email Studio.

As a workaround, I'd suggest using Journey Builder. When you create your SmartCapture form, check the box that says "Use in Journey Builder":

enter image description here

In Journey Builder, create a multi-step journey that creates a new Lead:

enter image description here

Inside the Lead activity, select "Create new" and fill in/map all the required fields:

enter image description here

Above will work if you really need to use SmartCapture, however, you would have much more flexibility if you create a custom form. As Lukas mentioned, here's a complete solution that you can just copy and paste: https://sfmarketing.cloud/2019/09/22/create-a-sales-service-cloud-integrated-lead-capture-form-using-ampscript/

Not the answer you're looking for? Browse other questions tagged or ask your own question.