Delen via


Scrive eSign (Preview)

Scrive, the Nordic market leader for electronic signatures, offers a growing suite of solutions for document workflows requiring e-signing and identity verification.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Scrive Support
URL https://support.scrive.com
Email support@scrive.com
Connector Metadata
Publisher Scrive AB
Website https://www.scrive.com
Privacy policy https://www.scrive.com/privacy-notice/
Categories Productivity

Adds eSigning to document workflows.

Prerequisites

A Scrive account with Scrive API access.

How to get credentials

Create a connection and follow the steps to authenticate using OAuth.

Known issues and limitations

Creating a connection

The connector supports the following authentication types:

Email/password Basic authentication using a Scrive email and password. All regions Shareable
OAuth/SSO OAuth authentication through email/password or single sign-on (SSO). All regions Shareable
Default [DEPRECATED] This option is only for older connections without an explicit authentication type, and is only provided for backward compatibility. All regions Not shareable

Email/password

Auth ID: basic-auth

Applicable: All regions

Basic authentication using a Scrive email and password.

This is shareable connection. If the power app is shared with another user, connection is shared as well. For more information, please see the Connectors overview for canvas apps - Power Apps | Microsoft Docs

Name Type Description Required
Email for Scrive account securestring The Scrive account email. True
Password for Scrive account securestring The Scrive account password. True
API Host URL securestring Specify Scrive API host. Default is https://scrive.com.

OAuth/SSO

Auth ID: OAuth

Applicable: All regions

OAuth authentication through email/password or single sign-on (SSO).

This is shareable connection. If the power app is shared with another user, connection is shared as well. For more information, please see the Connectors overview for canvas apps - Power Apps | Microsoft Docs

Default [DEPRECATED]

Applicable: All regions

This option is only for older connections without an explicit authentication type, and is only provided for backward compatibility.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Email for Scrive account string The Scrive account email. True
Password for Scrive account securestring The Scrive account password. True
API Host URL securestring Specify Scrive API host. Default is https://scrive.com.

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Add new party

Adds a new party to the document as a signatory, viewer or approver.

Append PDF file to main PDF file

Append the provided PDF file to the main PDF file for a document in Preparation.

Cancel a pending document

Cancel a pending document.

Create new document from PDF

Creates a document from a PDF file.

Create new document from template

Create a new document from the selected template.

Get Document JSON

Gets the document JSON.

Get document PDF file content

Gets the content of the document PDF file.

Set attachment

Adds a PDF to a document as an attachment. Choose between existing attachments from your Scrive account or create a new attachment by providing a PDF file.

Set file for document

Sets the main PDF file for the document.

Start signing process

Start the signing process for a document.

Update document JSON

Updates the document JSON with a provided JSON.

Update fields based on template

Updates party fields based on the selected template.

Update properties of parties based on template

Updates properties based on the selected template.

Add new party

Adds a new party to the document as a signatory, viewer or approver.

Parameters

Name Key Required Type Description
Document ID
documentId True string

ID of the document to add the new party to.

Party email
partyEmail True string

Email of the new party

Party role
partyRole True string

Role of the new party in the signing process.

Firstname
firstname string

Firstname of the new party.

Lastname
lastname string

Lastname of the new party.

Company
company string

Company of the new party.

Mobile
mobile string

Mobile phone number of the new party.

Party ID number
personalNumber string

Personal number of the new party. For use with various eIDs.

Invitation order
signOrder number

New party's order in the signing process.

Invitation method
deliveryMethod string

How the party will be invited to sign.

Auth to view
authenticationToView string

Authentication method needed to view the document.

Auth to view archived
authenticationToViewArchived string

Authentication method needed to view the archived document.

Auth to sign
authenticationToSign string

Authentication method needed to sign the document.

Confirmation
confirmation string

Method for sending confirmation.

Append PDF file to main PDF file

Append the provided PDF file to the main PDF file for a document in Preparation.

Parameters

Name Key Required Type Description
Document ID
documentId True string

ID of the document to append PDF file to.

PDF content
pdfContent True byte

File content of the PDF file that will be appended to the document.

Cancel a pending document

Cancel a pending document.

Parameters

Name Key Required Type Description
Document ID
documentId True string

ID of the pending document to cancel.

Create new document from PDF

Creates a document from a PDF file.

Parameters

Name Key Required Type Description
PDF content
pdfContent True byte

File content of the PDF file that will be used for the new document.

Author role
authorRole True string

Role of the author in the signing process.

Returns

Document ID of the created document.

Document ID
string

Create new document from template

Create a new document from the selected template.

Parameters

Name Key Required Type Description
Select Template
templateId-dynamic True string

Select template to start a new document from.

Returns

ID of the created document

New document ID
string

Get Document JSON

Gets the document JSON.

Parameters

Name Key Required Type Description
Document ID
documentId True string

ID of the document to get JSON from.

Returns

Document JSON

Document JSON
object

Get document PDF file content

Gets the content of the document PDF file.

Parameters

Name Key Required Type Description
Document ID
documentId True string

Document ID to get the PDF file from.

Returns

Document PDF content
byte

Set attachment

Adds a PDF to a document as an attachment. Choose between existing attachments from your Scrive account or create a new attachment by providing a PDF file.

Parameters

Name Key Required Type Description
Select Attachment
fileId string

Select an existing attachment.

Document ID
documentId True string

ID of the document to add the attachment to.

Attachment name.
attachmentName True string

File name for the attachment.

Required for signing
required True string

Whether or not to present the attachment with a mandatory checkmark before signing.

Add to sealed file
addToSealedFile True string

Whether or not to include the attachment in the sealed document after signing.

New Attachment PDF
pdfContent byte

PDF file content for the new attachment. Use this OR "Select Attachment".

Set file for document

Sets the main PDF file for the document.

Parameters

Name Key Required Type Description
Document ID
documentId True string

ID of the document to update.

New PDF content
pdfContent True byte

New PDF file content.

Returns

Document JSON

Document JSON
object

Start signing process

Start the signing process for a document.

Parameters

Name Key Required Type Description
Document ID
documentId True string

ID of the document to start.

Returns

ID of document being signed

Document ID being signed
string

Update document JSON

Updates the document JSON with a provided JSON.

Parameters

Name Key Required Type Description
Document ID
documentId True string

Document ID of the document to update.

Document JSON
documentJson True string

JSON used to update document metadata.

Update fields based on template

Updates party fields based on the selected template.

Parameters

Name Key Required Type Description
Select Template
templateID-dynamic True string

Select Template you want fields from.

dynamicTemplateSchema
dynamicTemplateSchema dynamic

Dynamic Schema of fields in selected template.

Update properties of parties based on template

Updates properties based on the selected template.

Parameters

Name Key Required Type Description
Select Template
templateID-dynamic True string

Select template you want the property fields from.

dynamicTemplateMetaSchema
dynamicTemplateMetaSchema dynamic

Dynamic Schema of properties from selected template.

Triggers

When a document from template is signed by all signatories

Watches a template and waits for one of its documents to be signed.

When a document is signed

Triggers when a signed document appears in the E-archive.

When a document is signed by all signatories (deprecated) [DEPRECATED]

Waits for a document to be signed. (deprecated)

When a document is signed by all signatories (Start Signing)

Starts the signing process for a document and waits for it to be signed.

When a document from template is signed by all signatories

Watches a template and waits for one of its documents to be signed.

Parameters

Name Key Required Type Description
Select Template
templateId-dynamic True string

Choose template whose documents will trigger the flow when signed.

Returns

Name Path Type Description
Signed Document ID
signedDocumentId string

Document ID for triggering document

When a document is signed

Triggers when a signed document appears in the E-archive.

Returns

Name Path Type Description
documents
documents array of object
documentId
documents.documentId string

Document ID for the signed document

When a document is signed by all signatories (deprecated) [DEPRECATED]

Waits for a document to be signed. (deprecated)

Parameters

Name Key Required Type Description
Document ID
documentId True string

Document ID to trigger on when signed.

Returns

Name Path Type Description
Signed Document ID
signedDocumentId string

Document ID for triggering document.

When a document is signed by all signatories (Start Signing)

Starts the signing process for a document and waits for it to be signed.

Parameters

Name Key Required Type Description
Document ID
documentId True string

ID of document to start and trigger from on signed.

Returns

Name Path Type Description
Signed Document ID
signedDocumentId string

Document ID for triggering document.

Definitions

string

This is the basic data type 'string'.

object

This is the type 'object'.

byte

This is the basic data type 'byte'.