Support Center | Doing More | Process Builder

Using Process Builder to subscribe and unsubscribe Salesforce records

  • Salesforce Process Builder allows you to build complex flows without code.

  • Campaign Monitor for Salesforce provides  invocable actions that work with Process Builder allowing you to:

    • Create a Subscriber List
    • Add, Delete or Unsubscribe a Contact
    • Add, Delete or Unsubscribe a Lead

Process builder is an advanced topic. To learn more, please refer to the Salesforce Trailhead guide on how to use the Salesforce process builder. Automate Simple Business Processes with Process Builder .

First start by creating your Process Builder flow.  When you want to create your first action be that immediate or scheduled follow these steps:

  1. Click Add Action.

  2. Choose Apex on Action Type.

  3. Give the Action a Name.

  4. In Apex Class start to type this will display our invocable actions:

    a.    Create a new subscriber List in Campaign Monitor

    b.    Add Contact to a Subscriber List

    c.    Add Lead to a Subscriber List

    d.    Delete a Contact from a Subscriber List

    e.    Delete a Lead from a Subscriber List

    f.     Unsubscribe a Contact from a Subscriber List

    g.    Unsubscribe a Lead from a Subscriber List

  5. When working with the add, delete or unsubscribe rules (options b through g above) you will need to specify either the Contact or Lead ID depending on what object you are working with. The Contact or Lead ID is simply the record ID.

  6. The subscriber list id can be found on the subscriber list record in Salesforce as shown below.

Process builder does not work well when triggered in bulk i.e. when many records meet the flow criteria at once.  Only use process builder if you are comfortable with how it works and have tested your flows.

In this article

Related articles

Was this article helpful?

Thank you. Your feedback has been received!
Oops! Something went wrong while submitting the form.

If you have any questions please click here

© 2017 Beaufort 12 Limited is a company registered in England and Wales with company number 8174703
Privacy Policy | Terms & Conditions | Cancellation Policy