Introduction
This documentation will cover the options you have for integration and automation with the classic GRC solutions and the graph database they use. This does not cover "AI-Powered Governance, Risk, and Compliance" solutions.
All mentioned functionality is available through the Workiva API, specifically the Platform API. This API will be usable by any external software or scripting that can utilize REST APIs.
If you're using chains, then some but not all of the functionality is available through the Workiva Connector. For any functionality missing, their relevant API endpoint can be used through the HTTP connector.
For testing we recommend following our guides to import Workiva's OpenAPI spec into an API testing platform such as Postman or Bruno (Windows, Mac).
Exporting
To export data from a GRC solution (the graph database), you have the following options.
Export a Report to CSV
Reports created using the "Report Builder" or "Textual Query" sections of the Workiva platform which exist in the "Reports" Section can be downloaded to CSV using the "Initiate a graph report export" API endpoint or in chains with the Workiva connector and "Run report" command.
Retrieve a list of records
The "Retrieve a list of records" API endpoint and matching Workiva Connector command can be used to return a list of records, but only if at least one filter condition is specified. For example, you could search for all records where the type is a "Control".
Retrieve a single record
The "Retrieve a single record" API endpoint and matching Workiva Connector command can be used to return a single record's details given its technical ID (this is the unique identifier assigned by Workiva - it can either be accessed via API or a report)
Retrieve a list of types
The "Retrieve a list of types" endpoint and matching Workiva Connector command can be used to return a list of all available types with their attributes.
Retrieve a single type
The "Retrieve a single type" endpoint and matching Workiva Connector command can be used to return the attributes of a single data record type (e.g., Control, Process, or Risk) based on its ID (name).
Importing
To create, update, or delete records or relationships in the graph database, the "Create new record edits" API endpoint and matching Workiva Connector command can be used.
Example Solution
Problem: I want to sync external software to the data stored in Workiva.
Solution: Use either chains, external software, or scripting to complete the following steps.
- Export the data to be synced from your external software while in parallel use Workiva's API to "Initiate a graph report export" and download the matching dataset from Workiva.
- Transform either one or both datasets so they are in a matching format. In chains, this could be done in Data Prep or in a Wdata table and query.
- Compare the datasets and identify any missing records to be added or deleted, plus any records which are to be updated. For chains, this could also be done as part of the Wdata work in the previous step or through SQL in the Tabular Transformation - Advanced Query command. You'll want three separate lists ready for the next step.
- Load the new records, delete the dead records, and update the outdated records using the "Create new record edits" API endpoint or Workiva Connector command.
Other Areas
The following functions of the GRC solution are available to automations through the Workiva API but not the Workiva Connector.
Test Forms
Test Phases and their attachments
- Retrieve a list of test phases
- Retrieve a single test phase
- Initiate a test phase attachment upload
- Retrieve a list of test phase attachments
- Retrieve a single test phase attachment
- Initiate a test phase attachment download
- Initiate a test phase attachment export
Matrix
- Retrieve a list of matrices
- Create a new matrix
- Retrieve a single matrix
- Initiate a matrix attachment upload
- Retrieve a list of matrix attachments
- Retrieve a single matrix attachment
- Initiate a matrix attachment download
- Initiate an export of a matrix attachment
Samples
- Retrieve a list of samples
- Create a new sample
- Insert samples
- Update samples
- Retrieve a single sample
- Partially update a single sample
- Initiate an upload of a sample attachment
- Retrieve a list of sample attachments
- Retrieve a single sample attachment
- Initiate a download of a sample attachment
- Initiate an export of a sample attachment