Evisort
App · 25 actions
Upload, search, read and update contracts and their AI-extracted fields in Evisort, organize its folders, and start and move contract workflow tickets, with triggers for changed documents and ticket activity.
Actions
| Action | What it does |
|---|---|
| Approve or reject review | Approve or reject one of a ticket's reviews (judgments), or reset it to pending, with an optional comment. |
| Cancel ticket | Cancel a ticket, saying why. |
| Complete ticket | Mark a ticket completed. |
| Create folder | Create a folder in the repository, at the top level or inside another folder. |
| Create ticket | Start a contract request from a published workflow, answering its intake form. |
| Delete document | Delete a document from Evisort. |
| Delete folder | Delete a folder with its subfolders and their documents, up to 500 documents. |
| Find documents by field | Find documents whose field matches a condition, such as an Expiration Date within the next 90 days or a Counterparty Name that contains Acme. |
| Get document | Get one document by its Evisort ID: its file name, folder, processing status, field values and clauses. |
| Get document by your ID | Get a document by the ID you gave it when uploading it, such as your CRM's contract number. |
| Get document download link | Get a link to download a document's file. |
| Get intake form | Get a workflow's intake form: its sections and questions, with the field IDs 'Create ticket' takes answers by. |
| Get job status | Check a background job, such as deleting a folder: whether it's queued, running, succeeded or failed, and what failed. |
| Get ticket | Get a ticket: its workflow, current stage, status, document and field values. |
| List documents | List the documents added or changed since a time, with their fields and clauses. |
| List fields | List the document fields set up in Evisort, with each one's name, type and the values it accepts. |
| List tickets | List the contract workflow tickets you can see, with each one's stage, status, assignees and last activity. |
| List workflows | List the published contract workflows tickets can be created from, with their stages. |
| Move ticket to next stage | Move a ticket on to its workflow's next stage, such as from Review to Sign. |
| Rename folder | Give a folder a new name. |
| Rename ticket | Give a ticket a new name, at any stage. |
| Search documents | Find documents by words in their file name or contents, optionally within folders. |
| Update document fields | Set or clear field values on a document. |
| Upload document | Add a contract to Evisort, optionally into a folder and with field values. |
| Upload new version | Replace a document's file with a new version. |
Approve or reject review
Approve or reject one of a ticket's reviews (judgments), or reset it to pending, with an optional comment. Act as the reviewer with Acting user email.
Inputs
- Ticket
ticket_idtextRequired - The ticket.
- Review ID
judgment_idtextRequired - The review's ID, from the ticket's stages in 'Get ticket'.
- Decision
decisiontextRequired - What to do.One of:
approve,reject,reset(Reset to pending). - Comment
commenttext - A comment for the ticket's activity log.
- Acting user email
acting_user_emailtext - Act as this Evisort user, by email. Leave empty to act as the API key.
- Acting user name
acting_user_nametext - That user's name, as Evisort shows it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"activities": [
{}
],
"approvals": [
{}
],
"candidates": [
{}
],
"comments": [
{}
],
"description": "example",
"id": "example",
"isInternal": true,
"judgment": {},
"name": "example",
"position": 1,
"status": "example"
}
}Cancel ticket
Cancel a ticket, saying why.
Inputs
- Ticket
ticket_idtextRequired - The ticket.
- Reason
reasontext - Why it's cancelled.
- Acting user email
acting_user_emailtext - Act as this Evisort user, by email. Leave empty to act as the API key.
- Acting user name
acting_user_nametext - That user's name, as Evisort shows it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"createdDate": "example",
"creator": {
"email": "example",
"id": 1,
"name": "example"
},
"currentStage": {
"coordinators": [
{}
],
"id": "example",
"isCompleted": true,
"isEnabled": true,
"name": "example",
"phases": [
{}
],
"status": "example"
},
"document": {
"currentVersion": {},
"id": "example",
"lastModifiedBy": {},
"name": "example"
},
"fields": [
{}
],
"file": {},
"id": "example",
"isCancelled": true,
"isCompleted": true,
"modifiedDate": "example",
"name": "example",
"paperType": "company",
"pilotDocHandlerId": 1,
"stage": "example",
"stages": [
{}
],
"status": "example",
"wasManuallyUpdated": true,
"workflow": {
"acceptedFileTypes": [
"example"
],
"conditions": {},
"form": {},
"id": "example",
"type": "company"
},
"workflowId": "example"
}
}
}Complete ticket
Mark a ticket completed.
Inputs
- Ticket
ticket_idtextRequired - The ticket.
- Acting user email
acting_user_emailtext - Act as this Evisort user, by email. Leave empty to act as the API key.
- Acting user name
acting_user_nametext - That user's name, as Evisort shows it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"createdDate": "example",
"creator": {
"email": "example",
"id": 1,
"name": "example"
},
"currentStage": {
"coordinators": [
{}
],
"id": "example",
"isCompleted": true,
"isEnabled": true,
"name": "example",
"phases": [
{}
],
"status": "example"
},
"document": {
"currentVersion": {},
"id": "example",
"lastModifiedBy": {},
"name": "example"
},
"fields": [
{}
],
"file": {},
"id": "example",
"isCancelled": true,
"isCompleted": true,
"modifiedDate": "example",
"name": "example",
"paperType": "company",
"pilotDocHandlerId": 1,
"stage": "example",
"stages": [
{}
],
"status": "example",
"wasManuallyUpdated": true,
"workflow": {
"acceptedFileTypes": [
"example"
],
"conditions": {},
"form": {},
"id": "example",
"type": "company"
},
"workflowId": "example"
}
}
}Create folder
Create a folder in the repository, at the top level or inside another folder.
Inputs
- Name
nametextRequired - The folder's name. It can't contain / and must differ from the other folders beside it.
- Inside folder
parent_pathtext - The folder to create it in, with / between folders, such as Contracts/Vendors. Leave empty for the top level.
- Inside folder ID
parent_idtext - Or the ID of the folder to create it in.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"attributes": {
"name": "example",
"parentId": "example",
"path": "example",
"visibilityLevel": "INHERITED"
},
"id": "example",
"type": "example"
}
}
}Create ticket
Start a contract request from a published workflow, answering its intake form.
Inputs
- Workflow
evisort_workflow_idtextRequired - The workflow to start.
- Name
nametextRequired - The ticket's name.
- Answers
answersobject - Answers to the intake form, by field ID, which 'Get intake form' lists. Give an email address for a person, a number for a number.
- Acting user email
acting_user_emailtext - Act as this Evisort user, by email. Leave empty to act as the API key.
- Acting user name
acting_user_nametext - That user's name, as Evisort shows it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"createdDate": "example",
"creator": {
"email": "example",
"id": 1,
"name": "example"
},
"currentStage": {
"coordinators": [
{}
],
"id": "example",
"isCompleted": true,
"isEnabled": true,
"name": "example",
"phases": [
{}
],
"status": "example"
},
"document": {
"currentVersion": {},
"id": "example",
"lastModifiedBy": {},
"name": "example"
},
"fields": [
{}
],
"file": {},
"id": "example",
"isCancelled": true,
"isCompleted": true,
"modifiedDate": "example",
"name": "example",
"paperType": "company",
"pilotDocHandlerId": 1,
"stage": "example",
"stages": [
{}
],
"status": "example",
"wasManuallyUpdated": true,
"workflow": {
"acceptedFileTypes": [
"example"
],
"conditions": {},
"form": {},
"id": "example",
"type": "company"
},
"workflowId": "example"
}
}
}Delete document
Delete a document from Evisort.
Inputs
- Document ID
evisort_idnumberRequired - The document's Evisort ID, a number, such as the evisortId an upload or search gives.At least 1.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"deleted": true,
"evisortId": 1
}
}Delete folder
Delete a folder with its subfolders and their documents, up to 500 documents. Evisort does it in the background: check it with 'Get job status'. The documents can be restored in Evisort.
Inputs
- Folder ID
folder_idtextRequired - The folder's ID, such as the id 'Create folder' gives.
- Reason
reasontext - Why the documents are being deleted. Needed when your account asks for a reason.One of:
duplicate,mistake(Added by mistake),expired,other. - Details
detailstext - More about why, up to 100 characters. Needed when the reason is Other.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"attributes": {
"status": "example"
},
"id": "example",
"type": "example"
}
}
}Find documents by field
Find documents whose field matches a condition, such as an Expiration Date within the next 90 days or a Counterparty Name that contains Acme. Returns one page of up to 200.
Inputs
- Field
field_nametextRequired - The field to look at.
- Condition
conditiontextRequired - How the field has to match. Which conditions work depends on the field's type: text, numbers, dates or lists of values.One of:
isblank(Is empty),notisblank(Is not empty),equals(Is),notequals(Is not),containstext(Contains the text),notcontainstext(Doesn't contain the text),hasany(Has any of the values),hasall(Has all of the values),hasnone(Has none of the values),eq(Equals (number)), and 10 more. - Value
valuetext - The text or number to compare with, or how many days, weeks, months or years for Within the next or Within the last. For Between numbers, the lower one.
- Second value
second_valuetext - For Between numbers: the higher one.
- Values
valueslist - For Has any, all or none of the values: the values.
- Date
datedate - For Before, After, On or Between dates: the date, or the earlier one.
- Second date
second_datedate - For Between dates: the later date.
- Unit
unittext - For Within the next or Within the last: days, weeks, months or years.One of:
day(Days),week(Weeks),month(Months),year(Years). - Folders
folderslist - Only documents in these folders, such as Finance/Agreements. Leave empty for every folder.
- Page
pagenumber - Which page of results, starting at 1. Leave empty for the first.At least 1.
- Per page
page_sizenumber - How many to return per page, up to 200. Leave empty for 100.From 1 to 200.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"count": 1,
"documents": [
{
"dateModified": "example",
"fields": [
{
"api_name": "example",
"name": "example",
"values": [
{}
]
}
],
"fileDetails": [
{
"docId": "example",
"evisortId": "example",
"name": "example",
"path": "example"
}
],
"provisions": [
{
"content": [
{}
],
"name": "example"
}
],
"status": "IN_PROGRESS"
}
],
"next": "example",
"previous": "example"
}
}Get document
Get one document by its Evisort ID: its file name, folder, processing status, field values and clauses.
Inputs
- Document ID
evisort_idnumberRequired - The document's Evisort ID, a number, such as the evisortId an upload or search gives.At least 1.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"customModelStatus": {
"xrayStatus": "IN_PROGRESS"
},
"dateModified": "example",
"docId": "example",
"docSetId": 1,
"evisortId": 1,
"fields": [
{
"api_name": "example",
"name": "example",
"values": [
{}
]
}
],
"name": "example",
"path": "example",
"provisions": [
{
"content": [
{}
],
"name": "example"
}
],
"status": "IN_PROGRESS"
}
}Get document by your ID
Get a document by the ID you gave it when uploading it, such as your CRM's contract number.
Inputs
- Your document ID
external_idtextRequired - The ID the document was uploaded with.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"customModelStatus": {
"xrayStatus": "IN_PROGRESS"
},
"dateModified": "example",
"docId": "example",
"docSetId": 1,
"evisortId": 1,
"fields": [
{
"api_name": "example",
"name": "example",
"values": [
{}
]
}
],
"name": "example",
"path": "example",
"provisions": [
{
"content": [
{}
],
"name": "example"
}
],
"status": "IN_PROGRESS"
}
}Get document download link
Get a link to download a document's file. The link works for a few minutes without signing in.
Inputs
- Document ID
evisort_idnumberRequired - The document's Evisort ID, a number, such as the evisortId an upload or search gives.At least 1.
- Copy
copytext - Which copy. Leave empty for the original file.One of:
original(Original file),ocr_pdf(Searchable PDF (OCR)),ocr_docx(Word document (OCR)),processed(Processed copy). Default:original.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"copy": "example",
"evisortId": 1,
"url": "example"
}
}Get intake form
Get a workflow's intake form: its sections and questions, with the field IDs 'Create ticket' takes answers by.
Inputs
- Workflow
evisort_workflow_idtextRequired - The published workflow.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"description": "example",
"id": "example",
"name": "example",
"sections": [
{
"description": "example",
"name": "example",
"position": 1,
"questions": [
{}
]
}
],
"type": "example",
"workflowId": "example"
}
}Get job status
Check a background job, such as deleting a folder: whether it's queued, running, succeeded or failed, and what failed.
Inputs
- Job ID
job_idtextRequired - The job's ID, which 'Delete folder' gives as its id.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"attributes": {
"completedAt": "example",
"kind": "members.update",
"outcome": {
"applied": [
{}
],
"failed": [
{}
]
},
"status": "queued",
"submittedAt": "example"
},
"id": "example",
"type": "example"
}
}
}Get ticket
Get a ticket: its workflow, current stage, status, document and field values.
Inputs
- Ticket
ticket_idtextRequired - The ticket.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"createdDate": "example",
"creator": {
"email": "example",
"id": 1,
"name": "example"
},
"currentStage": {
"coordinators": [
{}
],
"id": "example",
"isCompleted": true,
"isEnabled": true,
"name": "example",
"phases": [
{}
],
"status": "example"
},
"document": {
"currentVersion": {},
"id": "example",
"lastModifiedBy": {},
"name": "example"
},
"fields": [
{}
],
"file": {},
"id": "example",
"isCancelled": true,
"isCompleted": true,
"modifiedDate": "example",
"name": "example",
"paperType": "company",
"pilotDocHandlerId": 1,
"stage": "example",
"stages": [
{}
],
"status": "example",
"wasManuallyUpdated": true,
"workflow": {
"acceptedFileTypes": [
"example"
],
"conditions": {},
"form": {},
"id": "example",
"type": "company"
},
"workflowId": "example"
}
}
}List documents
List the documents added or changed since a time, with their fields and clauses. Returns one page; run it again with the next page number for more.
Inputs
- Changed since
modified_sincedate and timeRequired - Only documents added or changed at or after this time.
- Page
pagenumber - Which page of results, starting at 1. Leave empty for the first.At least 1.
- Per page
page_sizenumber - How many to return per page, up to 200. Leave empty for 100.From 1 to 200.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"count": 1,
"documents": [
{
"customModelStatus": {
"xrayStatus": "IN_PROGRESS"
},
"dateModified": "example",
"docId": "example",
"docSetId": 1,
"evisortId": 1,
"fields": [
{
"api_name": "example",
"name": "example",
"values": [
{}
]
}
],
"name": "example",
"path": "example",
"provisions": [
{
"content": [
{}
],
"name": "example"
}
],
"status": "IN_PROGRESS"
}
],
"next": "example",
"previous": "example"
}
}List fields
List the document fields set up in Evisort, with each one's name, type and the values it accepts. Use the names in the other document steps.
Inputs
- In use
activetrue/false - Only fields in use (true) or only retired ones (false). Leave empty for both.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"count": 1,
"fields": [
{
"active": true,
"allowedValues": [
"example"
],
"api_name": "example",
"helpText": "example",
"label": "example",
"name": "example",
"type": "string"
}
]
}
}List tickets
List the contract workflow tickets you can see, with each one's stage, status, assignees and last activity.
Inputs
- Order
sorttext - The order. Leave empty for Evisort's.One of:
createdDate:desc(Newest first),createdDate:asc(Oldest first),modifiedDate:desc(Recently changed first),modifiedDate:asc(Least recently changed first),name:asc(Name (A to Z)),name:desc(Name (Z to A)). - Page
pagenumber - Which page, starting at 0. Leave empty for the first.At least 0.
- Per page
page_sizenumber - How many per page. Leave empty for every ticket.At least 1.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"count": 1,
"data": [
{
"assignees": [
{}
],
"createdDate": "example",
"currentStageName": "example",
"id": "example",
"lastActivityDate": "example",
"name": "example",
"participants": [
{}
],
"status": "example"
}
]
}
}List workflows
List the published contract workflows tickets can be created from, with their stages.
Inputs
None.
Outputs
datalist- The response from Evisort.
Example output
{
"data": [
{
"completed": true,
"conditions": {},
"createdBy": 1,
"createdDate": "example",
"description": "example",
"fieldLinks": {},
"fieldMappings": [
{}
],
"fields": {},
"hasCompanyPaper": true,
"hasCounterpartyPaper": true,
"id": "example",
"implicitFields": [
{}
],
"isDraft": true,
"modifiedDate": "example",
"name": "example",
"parentId": "example",
"published": true,
"settings": {},
"signers": {},
"stages": {
"finalize": {},
"review": {},
"sign": {}
},
"versions": [
{}
]
}
]
}Move ticket to next stage
Move a ticket on to its workflow's next stage, such as from Review to Sign.
Inputs
- Ticket
ticket_idtextRequired - The ticket.
- Acting user email
acting_user_emailtext - Act as this Evisort user, by email. Leave empty to act as the API key.
- Acting user name
acting_user_nametext - That user's name, as Evisort shows it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"createdDate": "example",
"creator": {
"email": "example",
"id": 1,
"name": "example"
},
"currentStage": {
"coordinators": [
{}
],
"id": "example",
"isCompleted": true,
"isEnabled": true,
"name": "example",
"phases": [
{}
],
"status": "example"
},
"document": {
"currentVersion": {},
"id": "example",
"lastModifiedBy": {},
"name": "example"
},
"fields": [
{}
],
"file": {},
"id": "example",
"isCancelled": true,
"isCompleted": true,
"modifiedDate": "example",
"name": "example",
"paperType": "company",
"pilotDocHandlerId": 1,
"stage": "example",
"stages": [
{}
],
"status": "example",
"wasManuallyUpdated": true,
"workflow": {
"acceptedFileTypes": [
"example"
],
"conditions": {},
"form": {},
"id": "example",
"type": "company"
},
"workflowId": "example"
}
}
}Rename folder
Give a folder a new name. Its ID stays the same.
Inputs
- Folder ID
folder_idtextRequired - The folder's ID, such as the id 'Create folder' gives.
- New name
nametextRequired - The new name. It can't contain / and must differ from the other folders beside it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"attributes": {
"name": "example",
"parentId": "example",
"path": "example",
"visibilityLevel": "INHERITED"
},
"id": "example",
"type": "example"
}
}
}Rename ticket
Give a ticket a new name, at any stage. Only the name changes.
Inputs
- Ticket
ticket_idtextRequired - The ticket.
- New name
nametextRequired - The new name, up to 1,024 characters.
- Acting user email
acting_user_emailtext - Act as this Evisort user, by email. Leave empty to act as the API key.
- Acting user name
acting_user_nametext - That user's name, as Evisort shows it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"data": {
"id": "example",
"name": "example"
}
}
}Search documents
Find documents by words in their file name or contents, optionally within folders. Returns one page of up to 200.
Inputs
- Words
wordslistRequired - The words or phrases to look for.
- Look in
look_intext - Where to look. Leave empty for the file name or contents.One of:
both(File name or contents),filename(File name),content(Contents). Default:both. - Match
matchtext - How the words have to match. Leave empty for any of them.One of:
containsany(Contains any of the words),containsall(Contains all of the words),containsexact(Contains the exact phrase),notcontainsany(Contains none of the words),notcontainsall(Doesn't contain all of the words),notcontainsexact(Doesn't contain the exact phrase). Default:containsany. - Folders
folderslist - Only documents in these folders, such as Finance/Agreements. Leave empty for every folder.
- Page
pagenumber - Which page of results, starting at 1. Leave empty for the first.At least 1.
- Per page
page_sizenumber - How many to return per page, up to 200. Leave empty for 100.From 1 to 200.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"count": 1,
"documents": [
{
"dateModified": "example",
"fields": [
{
"api_name": "example",
"name": "example",
"values": [
{}
]
}
],
"fileDetails": [
{
"docId": "example",
"evisortId": "example",
"name": "example",
"path": "example"
}
],
"provisions": [
{
"content": [
{}
],
"name": "example"
}
],
"status": "IN_PROGRESS"
}
],
"next": "example",
"previous": "example"
}
}Update document fields
Set or clear field values on a document. Only the fields given change; each one's values replace what it held.
Inputs
- Document ID
evisort_idnumberRequired - The document's Evisort ID, a number, such as the evisortId an upload or search gives.At least 1.
- Field values
field_valuesobject - Field values by field name, as Evisort shows it, such as Counterparty Name: Acme Corporation. Give a list for a field with several values. Dates as YYYY-MM-DD, yes/no fields as true or false, and amounts, durations and addresses as the object Evisort reads back, such as {"amount": "2500.00", "currency": "USD"}. A name no field has creates a new text field.
- Clear fields
clear_fieldslist - Fields to empty on the document.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"cleared": [
"example"
],
"evisortId": 1,
"updated": [
"example"
]
}
}Upload document
Add a contract to Evisort, optionally into a folder and with field values. Evisort then reads it; its status is IN_PROGRESS until that's done.
Inputs
- File
filetextRequired - The contract file, such as a PDF or Word document, or a public link to it.
- Your document ID
external_idtextRequired - Your own ID for the document, such as your CRM's contract number, to find it by later.
- Folder
folder_pathtext - The folder to put it in, with / between folders, such as Finance/Agreements. Missing folders are created. Leave empty for the top level.
- Field values
field_valuesobject - Field values by field name, as Evisort shows it, such as Counterparty Name: Acme Corporation. Give a list for a field with several values. Dates as YYYY-MM-DD, yes/no fields as true or false, and amounts, durations and addresses as the object Evisort reads back, such as {"amount": "2500.00", "currency": "USD"}. A name no field has creates a new text field.
- Run custom models
run_custom_modelstrue/false - Also run your account's custom AI models on it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"evisortId": "example",
"status": "IN_PROGRESS"
}
}Upload new version
Replace a document's file with a new version. Its field values stay.
Inputs
- Document ID
evisort_idnumberRequired - The document's Evisort ID, a number, such as the evisortId an upload or search gives.At least 1.
- File
filetextRequired - The new version of the file, or a public link to it.
- Run custom models
run_custom_modelstrue/false - Also run your account's custom AI models on it.
Outputs
dataobject- The response from Evisort.
Example output
{
"data": {
"evisortId": 1,
"status": "IN_PROGRESS"
}
}