> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # webhookExpressions > Add post-processing expressions for a webhook response. [ref-datamap]: /docs/server-sdks/reference/typescript/agents/data-map Add expressions that run after the most recently added webhook completes. Allows conditional output based on the API response. ## **Parameters** **`expressions`** `Record[]` — required List of expression definitions to evaluate against the webhook response. --- ## **Returns** [`DataMap`][ref-datamap] -- Self for method chaining. Throws an `Error` if no webhook has been added yet. ## **Example** ```typescript {5} import { DataMap, FunctionResult } from '@signalwire/sdk'; const dm = new DataMap('check_status'); dm.webhook('GET', 'https://api.example.com/status'); dm.webhookExpressions([ { string: '${response.status}', pattern: 'active', output: new FunctionResult('The account is active.').toDict(), }, ]); ``` > Add post-processing expressions for a webhook response.