Power Automate Connector: Encodian – PDF
Overview
The 'PDF - Sign' action applies a digital signature to the PDF document provided. The action provides two signing options:
The 'Standard' option uses Encodian's 'Adobe Approved Trust List' certificate; thus, a signed document will appear as an approved signature with long-term validation enabled (the signature image is optional).
The 'Custom' option allows you to provide a custom certificate in PFX format, which is used to sign the document. The validity of the signature will depend on the certificate provided to sign the document.
Example Flows
Please refer to the following example solutions:
Power Automate Templates
Credit Count
This action consumes 1 credit per operation.
Note, different Encodian actions can consume different numbers of credits. Please always check the action-specific documentation and read What is an Encodian Action for a full description of how credits are consumed.
Subscription Availability
The 'PDF - Sign' flow action is available in all Power Automate regions and Encodian subscription plans, except the 'Dedicated' plan.
Parameters
The default 'PDF - Sign' flow action parameters are detailed below:
Certificate Type: Standard
- File Content: The file content of the source PDF file
Advanced Parameters
- Show Signature: Set whether the signature stamp should be visible
- Signature File Content: Optional - The image file to override the default signature image
- Data - Contact: Set the signature contact property
- Data - Location: Set the signature location property
- Data - Reason: Set the signature reason property
- Data - Signed By: Set the signature image 'Signed By' property
- Location - Signature Placement: Set how to place the signature, the default is via co-ordinates.
- Location - Placeholder Text: Set the place holder text to search for to place the signature
- Location - Apply To: Set where to apply the signature stamp
- Location - Specific Page: Set a specific page to apply the signature stamp to, only effective when the 'Apply To' value is set to 'Specific'
- Location - X-Coordinate: The x-coordinate (points*)of the signature, 0 is the left of the page
- Location - Y-Coordinate: The y-coordinate (points*) of the signature, 0 is the top of the page
- Security - Edit Password: Protect edit access to the document
- Security - View Password: Protect view access to the document
- Security - Privileges: Set the privileges assigned to the PDF document
- Stamp - Background Colour: Set the colour of the background of the signature image.
- Stamp - Foreground Colour: Set the colour of the font and other foreground elements used within the signature image.
- Stamp - Font Size: Set the size of the font used within the signature image
- Stamp - Max Height: The maximum height of the signature stamp
- Stamp - Max Width: The maximum width of the signature stamp
*As per the desktop publishing point (DTP) standard, 72 points = 1 inch
Certificate Type: Custom
- Certificate File Content: The file content of the certificate PFX file
- Certificate Password: The password for the certificate PFX file provided
- File Content: The file content of the source PDF file
Advanced Parameters
- Show Signature: Set whether the signature stamp should be visible
- Signature File Content: Optional - The image file to override the default signature image
- Data - Contact: Set the signature contact property
- Data - Location: Set the signature location property
- Data - Reason: Set the signature reason property
- Data - Signed By: Set the signature image 'Signed By' property
- Location - Signature Placement: Set how to place the signature, the default is via co-ordinates.
- Location - Placeholder Text: Set the place holder text to search for to place the signature
- Location - Apply To: Set where to apply the signature stamp
- Location - Specific Page: Set a specific page to apply the signature stamp to, only effective when the 'Apply To' value is set to 'Specific'
- Location - X-Coordinate: The x-coordinate (points*)of the signature, 0 is the left of the page
- Location - Y-Coordinate: The y-coordinate (points*) of the signature, 0 is the top of the page
- Stamp - Background Colour: Set the colour of the background of the signature image.
- Stamp - Foreground Colour: Set the colour of the font and other foreground elements used within the signature image.
- Stamp - Font Size: Set the size of the font used within the signature image
- Stamp - Max Height: The maximum height of the signature stamp
- Stamp - Max Width: The maximum width of the signature stamp
Return Parameters
The 'PDF - Sign' flow action returns the following data.
Action Specific Return Values
- File Content - The signed PDF document (Base64)
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
0 Comments