> 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. # fallbackOutput > Set the top-level fallback output used when no webhook or expression matches. [ref-datamap]: /docs/server-sdks/reference/typescript/agents/data-map [ref-functionresult]: /docs/server-sdks/reference/typescript/agents/function-result Set a top-level fallback output used when no webhook or expression matches. ## **Parameters** **`result`** `FunctionResult` — required A [`FunctionResult`][ref-functionresult] defining the fallback response. --- ## **Returns** [`DataMap`][ref-datamap] -- Self for method chaining. ## **Example** ```typescript {6} import { DataMap, FunctionResult } from '@signalwire/sdk'; const dm = new DataMap('get_weather'); dm.webhook('GET', 'https://api.weather.com/v1/current?q=${args.city}'); dm.output(new FunctionResult('Weather: ${response.current.condition.text}')); dm.fallbackOutput(new FunctionResult('Weather service is currently unavailable.')); ``` > Set the top-level fallback output used when no webhook or expression matches.