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.
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":
In Journey Builder, create a multi-step journey that creates a new Lead:
Inside the Lead activity, select "Create new" and fill in/map all the required fields:
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/