Veeva Vault
App · 25 actions
Create, update and route documents and object records in Veeva Vault, run their lifecycle actions and workflow tasks, query with VQL, and follow what changes.
Actions
| Action | What it does |
|---|---|
| Accept workflow task | Accept a task that is available to you, so it becomes yours. |
| Complete workflow task | Complete one of your workflow tasks, with its verdict when it asks for one. |
| Create document | Create a document from a file, or a content placeholder when no file is given. |
| Create object record | Create a record of an object, such as a Product or a custom object. |
| Delete document | Delete a document with all its versions and files. |
| Delete object record | Delete an object record. |
| Get current user | Get the user the API access token belongs to. |
| Get document | Get a document's fields, versions and renditions. |
| Get object record | Get every field of an object record. |
| Get workflow task | Get a workflow task's status, assignee, instructions and record. |
| List deleted documents | List documents and versions deleted in the last 30 days. |
| List document user actions | List the user actions, such as starting a review or approving, you can take on a document's latest version. |
| List documents | List documents, newest change first, filtered by name, type, status or when they changed. |
| List object records | List an object's records, newest change first, filtered by name or when they changed. |
| List objects | List the kinds of records (objects) in the Vault, such as Product, Study or a custom object. |
| List record user actions | List the user actions, such as changing state or starting a workflow, you can take on an object record. |
| List users | List the Vault's users. |
| List workflow tasks | List workflow tasks on a record, or your own. |
| List workflows | List the workflows on a record, or the ones you take part in. |
| Reassign workflow task | Give an open workflow task to someone else. |
| Run document user action | Take a user action on a document's latest version, such as moving it to Approved or starting a workflow. |
| Run record user action | Take a user action on an object record, such as changing its state or starting a workflow. |
| Run VQL query | Run a Vault Query Language query, such as SELECT id, name__v FROM documents, and get the rows. |
| Update document | Change field values on the latest version of a document. |
| Update object record | Change field values on an object record. |
Accept workflow task
Accept a task that is available to you, so it becomes yours.
Inputs
- Workflow task
task_idnumberRequired - The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"responseStatus": "example"
}
}Complete workflow task
Complete one of your workflow tasks, with its verdict when it asks for one. Tasks that need an eSignature are completed in Vault.
Inputs
- Workflow task
task_idnumberRequired - The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.
- Verdict
verdicttext - The verdict's name, such as verdict_approved__c, when the task asks for one.
- Fields
fieldsobject - Other values the task asks for, such as {"verdict_approved_comment__c": "Looks good"}.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"responseStatus": "example"
}
}Create document
Create a document from a file, or a content placeholder when no file is given.
Inputs
- Name
nametextRequired - The document's name.
- Document type
document_typetextRequired - The document type.
- Lifecycle
lifecycletextRequired - The lifecycle the document follows. The list shows the ones the type allows.
- Subtype
subtypetext - The document subtype, when the type has subtypes.
- File
filetext - The document's file. Leave empty for a content placeholder.
- Fields
fieldsobject - Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"id": 1,
"responseStatus": "example"
}
}Create object record
Create a record of an object, such as a Product or a custom object.
Inputs
- Object
object_nametextRequired - The kind of record, such as Product or a custom object.
- Name
nametext - The record's name. Leave empty when the object names records itself.
- Fields
fieldsobject - Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"id": "example",
"responseStatus": "example",
"url": "example"
}
}Delete document
Delete a document with all its versions and files. Veeva support can restore it within 30 days.
Inputs
- Document
document_idnumberRequired - The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"id": 1,
"responseStatus": "example"
}
}Delete object record
Delete an object record.
Inputs
- Object
object_nametextRequired - The kind of record, such as Product or a custom object.
- Record
record_idtextRequired - The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"id": "example",
"responseStatus": "example"
}
}Get current user
Get the user the API access token belongs to.
Inputs
None.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"active__v": true,
"id": 1,
"security_profile__v": "example",
"user_email__v": "example",
"user_first_name__v": "example",
"user_last_name__v": "example",
"user_name__v": "example"
}
}Get document
Get a document's fields, versions and renditions.
Inputs
- Document
document_idnumberRequired - The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"document": {
"classification__v": "example",
"created_by__v": 1,
"description__v": "example",
"document_creation_date__v": "example",
"document_number__v": "example",
"id": 1,
"last_modified_by__v": 1,
"lifecycle__v": "example",
"major_version_number__v": 1,
"minor_version_number__v": 1,
"name__v": "example",
"status__v": "example",
"subtype__v": "example",
"title__v": "example",
"type__v": "example",
"version_modified_date__v": "example"
},
"renditions": {},
"versions": [
{
"number": "example",
"value": "example"
}
]
}
}Get object record
Get every field of an object record.
Inputs
- Object
object_nametextRequired - The kind of record, such as Product or a custom object.
- Record
record_idtextRequired - The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": {
"created_by__v": 1,
"created_date__v": "example",
"id": "example",
"modified_by__v": 1,
"modified_date__v": "example",
"name__v": "example",
"status__v": [
"example"
]
}
}
}Get workflow task
Get a workflow task's status, assignee, instructions and record.
Inputs
- Workflow task
task_idnumberRequired - The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"assigned_date__v": "example",
"assignee__v": "example",
"created_date__v": "example",
"due_date__v": "example",
"id": 1,
"instructions__v": "example",
"label__v": "example",
"object__v": "example",
"record_id__v": "example",
"status__v": [
"example"
],
"workflow__v": "example"
}
}List deleted documents
List documents and versions deleted in the last 30 days.
Inputs
- Deleted after
deleted_afterdate and time - Only documents deleted after this time, up to 30 days ago.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": [
{
"date_deleted": "example",
"deletion_type": "example",
"id": 1,
"major_version_number__v": 1,
"minor_version_number__v": 1
}
]
}
}List document user actions
List the user actions, such as starting a review or approving, you can take on a document's latest version.
Inputs
- Document
document_idnumberRequired - The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"lifecycle_actions__v": [
{
"executable__v": "example",
"label__v": "example",
"lifecycle_action_type__v": "example",
"name__v": "example",
"state__v": "example"
}
]
}
}List documents
List documents, newest change first, filtered by name, type, status or when they changed.
Inputs
- Name contains
name_containstext - Only documents whose name contains this.
- Document type
document_typetext - Only documents of this type.
- Status
statustext - Only documents in this lifecycle state, by its label, such as Draft or Approved.
- Changed after
changed_afterdate and time - Only records changed after this time.
- Records per page
page_sizenumber - How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
- Skip records
page_offsetnumber - How many records to skip, for reading the next page.At least 0.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": [
{
"classification__v": "example",
"created_by__v": 1,
"description__v": "example",
"document_creation_date__v": "example",
"document_number__v": "example",
"id": 1,
"last_modified_by__v": 1,
"lifecycle__v": "example",
"major_version_number__v": 1,
"minor_version_number__v": 1,
"name__v": "example",
"status__v": "example",
"subtype__v": "example",
"title__v": "example",
"type__v": "example",
"version_modified_date__v": "example"
}
],
"responseDetails": {
"next_page": "example",
"pageoffset": 1,
"pagesize": 1,
"size": 1,
"total": 1
}
}
}List object records
List an object's records, newest change first, filtered by name or when they changed.
Inputs
- Object
object_nametextRequired - The kind of record, such as Product or a custom object.
- Name contains
name_containstext - Only records whose name contains this.
- Extra fields
columnslist - More fields to return, by field name, such as abbreviation__c.
- Changed after
changed_afterdate and time - Only records changed after this time.
- Records per page
page_sizenumber - How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
- Skip records
page_offsetnumber - How many records to skip, for reading the next page.At least 0.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": [
{
"created_by__v": 1,
"created_date__v": "example",
"id": "example",
"modified_by__v": 1,
"modified_date__v": "example",
"name__v": "example",
"status__v": [
"example"
]
}
],
"responseDetails": {
"next_page": "example",
"pageoffset": 1,
"pagesize": 1,
"size": 1,
"total": 1
}
}
}List objects
List the kinds of records (objects) in the Vault, such as Product, Study or a custom object.
Inputs
None.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"objects": [
{
"label": "example",
"label_plural": "example",
"name": "example",
"source": "example"
}
]
}
}List record user actions
List the user actions, such as changing state or starting a workflow, you can take on an object record.
Inputs
- Object
object_nametextRequired - The kind of record, such as Product or a custom object.
- Record
record_idtextRequired - The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": [
{
"label": "example",
"name": "example",
"type": "example"
}
]
}
}List users
List the Vault's users.
Inputs
- Records per page
page_sizenumber - How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
- Skip records
page_offsetnumber - How many records to skip, for reading the next page.At least 0.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"size": 1,
"start": 1,
"users": [
{
"active__v": true,
"id": 1,
"security_profile__v": "example",
"user_email__v": "example",
"user_first_name__v": "example",
"user_last_name__v": "example",
"user_name__v": "example"
}
]
}
}List workflow tasks
List workflow tasks on a record, or your own.
Inputs
- Object
object_nametext - Only for this object's record. Leave empty for your own.
- Record
record_idtext - Only for this record. Leave empty for your own.
- Statuses
statuseslist - Only tasks in these statuses. Leave empty for all.One or more of:
available__v(Available to accept),assigned__v(Assigned),completed__v(Completed),cancelled__v(Cancelled). - Records per page
page_sizenumber - How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
- Skip records
page_offsetnumber - How many records to skip, for reading the next page.At least 0.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": [
{
"assigned_date__v": "example",
"assignee__v": "example",
"created_date__v": "example",
"due_date__v": "example",
"id": 1,
"instructions__v": "example",
"label__v": "example",
"object__v": "example",
"record_id__v": "example",
"status__v": [
"example"
],
"workflow__v": "example"
}
],
"responseDetails": {
"next_page": "example",
"pageoffset": 1,
"pagesize": 1,
"size": 1,
"total": 1
}
}
}List workflows
List the workflows on a record, or the ones you take part in.
Inputs
- Object
object_nametext - Only for this object's record. Leave empty for your own.
- Record
record_idtext - Only for this record. Leave empty for your own.
- Statuses
statuseslist - Only workflows in these statuses. Leave empty for all.One or more of:
active__v(In progress),completed__v(Completed),cancelled__v(Cancelled). - Records per page
page_sizenumber - How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
- Skip records
page_offsetnumber - How many records to skip, for reading the next page.At least 0.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": [
{
"id": 1,
"initiator__v": 1,
"label__v": "example",
"object__v": "example",
"record_id__v": "example",
"started_date__v": "example",
"status__v": [
"example"
]
}
],
"responseDetails": {
"next_page": "example",
"pageoffset": 1,
"pagesize": 1,
"size": 1,
"total": 1
}
}
}Reassign workflow task
Give an open workflow task to someone else.
Inputs
- Workflow task
task_idnumberRequired - The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.
- New assignee
assignee_idnumberRequired - The person to give the task to.At least 1.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"responseStatus": "example"
}
}Run document user action
Take a user action on a document's latest version, such as moving it to Approved or starting a workflow.
Inputs
- Document
document_idnumberRequired - The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.
- User action
user_actiontextRequired - The user action to take.
- Fields
fieldsobject - Values the action asks for, such as {"approver__c": "user:10001400", "due_date__c": "2026-12-01"}.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"id": 1,
"responseStatus": "example",
"workflow_id__v": "example"
}
}Run record user action
Take a user action on an object record, such as changing its state or starting a workflow.
Inputs
- Object
object_nametextRequired - The kind of record, such as Product or a custom object.
- Record
record_idtextRequired - The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.
- User action
user_actiontextRequired - The user action to take.
- Fields
fieldsobject - Values the action asks for, such as {"approvers__c": "user:10001399", "due_date__c": "2026-12-01T08:00:00.000Z"}.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"responseStatus": "example"
}
}Run VQL query
Run a Vault Query Language query, such as SELECT id, name__v FROM documents, and get the rows.
Inputs
- Query
vqltextRequired - The VQL query, such as SELECT id, name__v FROM product__v WHERE status__v = 'active__v'.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"data": [
{}
],
"responseDetails": {
"next_page": "example",
"pageoffset": 1,
"pagesize": 1,
"size": 1,
"total": 1
}
}
}Update document
Change field values on the latest version of a document.
Inputs
- Document
document_idnumberRequired - The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.
- Fields
fieldsobjectRequired - Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"id": 1,
"responseStatus": "example"
}
}Update object record
Change field values on an object record.
Inputs
- Object
object_nametextRequired - The kind of record, such as Product or a custom object.
- Record
record_idtextRequired - The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.
- Fields
fieldsobjectRequired - Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.
Outputs
dataobject- The response from Veeva Vault.
Example output
{
"data": {
"id": "example",
"responseStatus": "example",
"url": "example"
}
}