top of page
  • Writer's pictureLaura

8 easy steps how to create your own SFMC custom activity

Updated: Mar 20, 2023

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:

  1. Log in to your SFMC account and navigate to the "Apps" tab in the top menu.

  2. Under the "Extensions" section, click the "Custom Activities" link.

  3. Click the "Create" button to create a new custom activity.

  4. Enter a name and description for the custom activity, and select the "Custom Activity" option.

  5. Select the "Javascript" option for the "API Language" field.

  6. 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.

  7. Click the "Save" button to save the custom activity.

  8. 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?

bottom of page