With the roll out of sub-processes, it seems like there would be a way to call a process builder from apex, but I'm not finding anything in the documentation. Does anyone know if you can call a process builder from apex?

3 Answers 3


It looks like there is one way to do this using a http callout using a Named Credential to Actions REST API to call Flow or Invocable Process.

See link below for additional details. https://douglascayers.com/2016/10/31/how-to-invoke-process-builder-from-flow/


Salesforce introduced Platform Events, that can be fired from Apex, and subscribed directly by Processes:



From Apex we cannot call process builder's process, but reverse is true.

Process Builder process can only be get called from other process.

  • 2
    Technically, from Apex you can make http request to Actions REST API. However, to make callout requires no other DML to have occurred so might have to do it asynchronously. See Starley Flynn's answer.
    – Doug Ayers
    Jun 27, 2017 at 2:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .