Documentation Index

Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt

Use this file to discover all available pages before exploring further.

PreRequest and PreResponse Flow Hooks

Prev Next

Overview

PreRequest and PreResponse Flow Hooks provide additional control over interactions between the platform, LLM providers, and Users. Available in v9.30 and later, these hooks allow developers to modify or process information at key points in the LLM request and response lifecycle.


PreRequest and PreResponse Flow Hooks 

  • PreRequest Flow Hooks: Enable Message History compaction, Prompt modification, and System Prompt modification before being sent to an LLM provider.
  • PreResponse Flow Hooks: Enables Filtering/Post-Processing after an LLM responds but before the response is sent to Users. 

This update includes the ability to create a new AI Tool Flow from the Agents Dashboard. 


Feature Changes

DescriptionVersionRelease DateDeveloper Tag
PreRequest Flow and PreResponse Flow hooks have been added to the platform:
  • PreRequest enables Message history compaction, prompt modification, and system prompt modification before being sent to an LLM provider.
  • PreResponse enables filtering/post-processing after an LLM responds but before the response is sent to Users. 
9.30August 2026[DT-048124]