Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: do not store output of webhook automations (#7697)

Max Deichmann7d7932e02456
diff --git a/packages/shared/src/server/automations/webhooks.ts b/packages/shared/src/server/automations/webhooks.ts
index f2becb2976..5980e4dfc4 100644
--- a/packages/shared/src/server/automations/webhooks.ts
+++ b/packages/shared/src/server/automations/webhooks.ts
@@ -164,10 +164,6 @@ export const executeWebhook = async (input: WebhookInput) => {
status: ActionExecutionStatus.COMPLETED,
startedAt: executionStart,
finishedAt: new Date(),
- output: {
- httpStatus,
- responseBody: responseBody?.substring(0, 1000), // Limit response body size
- },
},
});
diff --git a/worker/src/__tests__/webhooks.test.ts b/worker/src/__tests__/webhooks.test.ts
index f9b535e666..578c73bfcf 100644
--- a/worker/src/__tests__/webhooks.test.ts
+++ b/worker/src/__tests__/webhooks.test.ts
@@ -276,10 +276,7 @@ describe("Webhook Integration Tests", () => {
where: { id: executionId },
});
expect(execution?.status).toBe(ActionExecutionStatus.COMPLETED);
- expect(execution?.output).toMatchObject({
- httpStatus: 200,
- responseBody: '{"success":true}',
- });
+ expect(execution?.output).toBeNull();
expect(execution?.startedAt).toBeDefined();
expect(execution?.finishedAt).toBeDefined();
});