Digital Signers
Preparation in ENSPACE
Learn how the integration between ENSPACE and D4Sign works.
published
Preparation in ENSPACE
How to Configure
- Access the desired workspace.
- In the side menu, click Settings.
- In the submenu, select Integrations.
- Find the D4Sign integration and click "Install Integration".
- In the D4Sign tab, click "Install Integration" again.
- Select the environment (production or staging) and fill in the following fields with the information obtained from your D4Sign account:
- Token
- CryptKey
- Click Save to complete the integration installation.
Preparing the Signature Flow
- Create a task of type Confirmation.
- Enable the "Generate PDF" button.
- Then, enable "Generate Document From Field".
- In the "Document Field", select the field where the document is stored.
- Optionally, you can:
- Attach a standard PDF to the generated documents.
- Insert a watermark.
- In your flow, add a Task of type "Use Integration" and select the "D4Sign" integration.
- After selecting the integration, the following fields will be available:
- D4Sign Actions: select the option "Send for Signature".
- Document Field: select a field of type "File Editor" containing the document to be sent.
- Vault Field: this is a selection-type field. When creating this field, set the list source to integrations and select the D4Sign integration.
- Document Title: set the file name. Dynamic expressions can be used.
- Signers Field: use a repeater-type field created previously in the flow.
Structure of the Signers Field:
⚠️ The repeater field must contain the following subfields:
- Email (text field with email mask): the signer's email address.
- Action (selection type): defines the participant's role in the signing process. Values must exactly match the following (labels can be free, but values must be identical):
| Value | Description |
|---|---|
| 1 | Sign |
| 2 | Approve |
| 3 | Acknowledge |
| 4 | Sign as Party |
| 5 | Sign as Witness |
| 6 | sign_as_intervenere |
| 7 | Receipt Acknowledgment |
| 8 | Sign as Issuer, Endorser, and Guarantor |
| 9 | Sign as Issuer, Endorser, Guarantor, and Surety |
| 10 | Sign as Surety |
| 11 | Sign as Party and Surety |
| 12 | Sign as Solidary Responsible |
| 13 | Sign as Party and Solidary Responsible |
⚠️ The following subfields are optional:
- Foreigner (selection type): defines the participant's nationality. Values (labels free, values exact):
| Value | Description |
|---|---|
| 0 | Has CPF (Brazilian) |
| 1 | Does not have CPF (Foreigner) |
- ICP Brazil Certificate (selection type): indicates if the signer MUST sign with an ICP-Brasil Digital Certificate. Values:
| Value | Description |
|---|---|
| 0 | Standard D4Sign signature |
| 1 | Signature with ICP-Brasil Digital Certificate |
- In-person Signature (selection type): indicates if the signature MUST be done in person. Values:
| Value | Description |
|---|---|
| 0 | No in-person signature |
| 1 | In-person signature required |
- Document (selection type): indicates if the signer MUST present a photo ID. Values:
| Value | Description |
|---|---|
| 0 | Photo ID not required |
| 1 | Photo ID required |
- Password (text field): defines an access code for the signer.
Finalizing
- Add the signers field, the vault field, and the document field to a form. Make sure the form is filled before PDF generation and signature.
- You can now test the integration.