diff --git a/packages/ai/src/workflows/post-processing-workflow.ts b/packages/ai/src/workflows/post-processing-workflow.ts index 92765cfbb..a7c137752 100644 --- a/packages/ai/src/workflows/post-processing-workflow.ts +++ b/packages/ai/src/workflows/post-processing-workflow.ts @@ -28,7 +28,7 @@ const postProcessingWorkflow = createWorkflow({ formatFollowUpMessageStep, ], // Otherwise use initial message format - [async () => true, formatInitialMessageStep], + [async ({ inputData }) => inputData?.isSlackFollowUp === false, formatInitialMessageStep], ]) .commit();