CREATE_DATA_PROTECTION_RECORD
Creates a GDPR/CCPA Record of Processing Activities (RoPA) or Data Protection Record in .xlsx format.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
output_path | string | yes | — |
company_name | string | yes | — |
data_controller | string | — | — |
processing_activities | array | yes | [{process_name, purpose, data_categories, data_subjects, retention_period, third_party_sharing, security_measures}] |
How to use it
You normally trigger this by describing what you want in chat — the agent selects CREATE_DATA_PROTECTION_RECORD automatically. For example:
Try saying
“create a compliance tools document”
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "compliance_tools",
"action": "CREATE_DATA_PROTECTION_RECORD",
"args": {
"output_path": "/Users/me/Documents/file.txt",
"company_name": "…",
"processing_activities": []
},
"depends_on": [],
"outputs": []
}Direct call
For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.
bash
curl -X POST http://127.0.0.1:8000/execute_tool \
-H "Content-Type: application/json" \
-d '{"tool_name":"CREATE_DATA_PROTECTION_RECORD","args":{"output_path":"/Users/me/Documents/file.txt","company_name":"…","processing_activities":[]}}'Part of the compliance_tools plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.