Salesforce Marketing Cloud (SFMC) allows you to create custom activities that can be used in your automation workflows. Custom activities, which may be used to carry out particular operations within your workflows like sending an email or updating a data extension, are effectively mini-programs.
With these 8 steps you create your own custom activity in SFMC:
Log in to your SFMC account and navigate to the "Apps" tab in the top menu.
Under the "Extensions" section, click the "Custom Activities" link.
Click the "Create" button to create a new custom activity.
Enter a name and description for the custom activity, and select the "Custom Activity" option.
Select the "Javascript" option for the "API Language" field.
In the "API Source" field, enter the code for the custom activity. This code should define the tasks that the custom activity will perform, as well as any input and output parameters that are required.
Click the "Save" button to save the custom activity.
After saving the custom activity, you will need to test it to ensure that it is working correctly. You can do this by using the custom activity in a workflow and verifying that it performs the desired tasks.
Congrats, you now have the knowledge to make your own custom activity! SFMC.Essentials is curious what amazing customer experiences you are creating with this.
SFMC.Essential events to inspire and share SFMC knowledge, want to join?
Need an extra pair of SFMC.Essentials hands?
Comments