Anonyflow connects to a Nagent workspace with an API key. Once it is connected, agents can call 5 Anonyflow actions, such as "Anonymize Packet", "Anonymize Value" and "Deanonymize Packet". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Anonyflow, with input parameters and output schema.
ANONYFLOW_ANONYMIZE_PACKETTool to anonymize a JSON data packet with support for partial anonymization. Use when you need to conceal specific fields in structured data. If keys array is empty, the complete data packet will be anonymized.
Input parameters
JSON object representing the data packet to anonymize. Values can be string, number, or boolean.
List of keys within the data packet whose values to anonymize. If empty array, all fields in the data packet will be anonymized.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ANONYFLOW_ANONYMIZE_VALUETool to anonymize a string or array of string values. Use when you need to conceal sensitive text before storage or transmission. Example: `AnonymizeValue().execute(AnonymizeValueRequest(data=\['secret'\]))` Limitations: Only supports list of strings, not nested structures.
Input parameters
List of plaintext string values to anonymize.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ANONYFLOW_DEANONYMIZE_PACKETTool to deanonymize a JSON data packet using your private key. Use after receiving an anonymized packet to recover specific fields.
Input parameters
JSON object representing the data packet to deanonymize. Values can be string, number, or boolean.
List of keys within the data packet whose values to deanonymize. Specify the exact keys you want deanonymized; keys not in this list remain unchanged.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ANONYFLOW_DEANONYMIZE_VALUETool to deanonymize one or more anonymized string values. Use when you need to recover the original plaintext values after encryption-based anonymization. Example: `DeanonymizeValue().execute(DeanonymizeValueRequest(data=\["<anonymized_string>"\]))`
Input parameters
List of anonymized string values to deanonymize.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ANONYFLOW_TEST_CONNECTIONTool to test the connection to the AnonyFlow API. Use when verifying that the AnonyFlow service is reachable and operational before performing anonymization tasks. Example: `TestConnection().execute(TestConnectionRequest())`
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 5 Anonyflow actions on Nagent, including "Anonymize Packet", "Anonymize Value" and "Deanonymize Packet". Anonymize Packet: Anonymize a JSON data packet with support for partial anonymization. Each action is listed on this page with its input parameters and its output.
Anonyflow connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
Anonymize Packet takes 2 required inputs: data and keys. It returns data, error and successful.