capabilities.work

Author and Verify a Transformation

A 3-step recipe with Hookdeck. We can help you get access.

Recipe · 3 steps

Author and Verify a Transformation

Create a transformation and validate it against a sample request.

  1. Create the transformation from the supplied name and JavaScript code.
  2. Run the stored transformation against a sample request to confirm it executes and capture the resulting log level.
  3. Read the stored transformation back to confirm it was persisted and capture its final code.
What you'll need to have ready
  • transformationName: A unique name for the transformation.
  • code: The JavaScript code to execute as the transformation.
  • sampleBody: A sample request body to test the transformation against.
For your developer

Arazzo workflow hookdeck:author-transformation, 3 operations: createTransformation → testTransformation → getTransformation. Specs on APIs.io.