Skyflow icon

Skyflow

Interact with Skyflow data privacy vault

Tokenize

AI-generated

Summary

Insert sensitive data records into a specified Skyflow vault table to tokenize them, optionally returning tokens and supporting upsert and error handling options.

Inputs

  • Table Name (required) — The name of the table in your Skyflow vault where data will be inserted
  • Records (required) — JSON object or array of objects containing the data to tokenize. Example: {"card_number": "4111111111111111", "name": "John Doe"}
  • Options — Additional settings including whether to return tokens for inserted data, continue on error for partial success, and upsert column to update existing records instead of inserting.

Output shape

a single JSON object per input item containing the inserted fields, optionally tokens, and any errors encountered

The output includes insertedFields with tokenized values, and if some records fail and continueOnError is true, an errors field with details for failed records. If continueOnError is false and an error occurs, execution stops with an error.

Discussion