Process Builder

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

  • Emma for Salesforce provides actions that work with Process Builder allowing you to:

    • Add a Contact or Lead to an Emma Group
    • Remove a Contact or Lead from an Emma Group
    • Delete a Contact or Lead from Emma

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 .

Use the steps below to create your Process Builder flow:

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.

  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 process builder ready actions:

    a.    Add Contact to Emma Group

    b.    Add Lead to Emma Group

    c.    Delete a Contact from Emma Audience

    d.    Delete a Lead from Emma Audience

    e.    Remove Contact from Emma Group

    f.    Remove Lead from Emma Group

  5. When working with the add, delete or remove rules 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 Salesforce record ID.

  6. The group id can be found on the Emma Group on the Details screen under the collapsed system information.

In this article