Automate E-Signature in Batch
This page will walk the user through setting up a Automated Batch Process for E-Signature solutions. We will accomplish this by setting up 2 Flows, one screen flow and one record-triggered Flow.


Understanding the Overall Schema
Outlined above is the generalized process from start to finish users will take to generate an S-Sign Request using a Record Triggered Flow.
The process goes as follows:
Collect Data that will be used for document generation (S-Sign Enabled Template + Object Record)
Generate the document from the collected data
Prepare the Envelope the Generated Document will be stored in
Seal the Envelope in preparation to deliver the request
Send out the request for Electronic Signature
This use case is more unique, considering we couple the use of a Screen Flow to do the data collection and document generation in batch, then leverage a record-triggered after save flow to create, seal, and deliver the envelope.

Phase 1: Configure the Batch Generation
In large the screen flow is our standard document generation steps through flows. With batch generation, the key characteristic that needs to be focused on is the input variables. The Base Record IDs and Template IDs inputs only accept Collection variables. After we use the Get Records Invocable Actions to find the data we want to generate, we will use the assignment variable to assign both the templates and object records to collections. Then we feed the collections into the Generate in Batch Invocable Action.
Phase 2: Construct the Record-Triggered Flow
Build the Flow using the process outlined at the beginning of this article and detailed further in Send E-Signature Requests from a Record-Triggered Flow
Ensure all Invokable Actions are added to the Asynchronous Path
Do not include any invokable actions that are included in Phase 1
Add the Triggering S-Doc ID to the collection, this will be provided to the Attachments option in the Send Email invocable action

Last updated
Was this helpful?

