Skip to main content
After an agreement is signed in an e-signature platform (DocuSign, PandaDoc, Adobe Sign, or similar), it often sits there until someone manually downloads and uploads it into Royaltyport. This automation runs weekly, checks for newly completed agreements, fetches the signed documents, and uploads them to Royaltyport for automatic extraction.

Trigger

Schedule — a CRON expression runs the workflow weekly (e.g. 0 8 * * 1 for every Monday at 8 AM).

Workflow

1

Fetch recently signed agreements

An API Request step calls the e-signature platform’s API to list agreements completed in the past 7 days. Most platforms support filtering by status (completed / signed) and date range.
2

Filter already-ingested agreements

A Database step reads the ingested_agreements table in an automation database to get previously processed envelope or agreement IDs. A Code step filters the list, removing any that have already been uploaded.
3

Loop over new agreements

A Loop step iterates over the remaining agreements. Inside each iteration:
  1. Download the signed PDF — an API Request step fetches the completed document from the e-signature platform’s download endpoint.
  2. Upload to Royaltyport — an API Request step with the Royaltyport API preset uploads the file to the target project. Royaltyport’s extraction pipeline processes the contract automatically.
4

Mark as ingested

A Database step inserts the agreement ID, signing date, and Royaltyport contract ID into the ingested_agreements table so it is skipped on future runs.
Once the file is uploaded via the Royaltyport API, the platform’s extraction pipeline kicks in automatically — extracting parties, royalty rates, territories, dates, and all other structured data. No manual processing needed.

Key Features Used

API Request

Configure API calls to e-signature platforms and Royaltyport.

Databases

Track ingested agreements to prevent duplicates.

Contract Upload API

Upload contracts programmatically via the REST API.

More Examples

Browse all example workflows.