diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index 90e7ab661c..8016283094 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -79,7 +79,7 @@ automationStore.actions.addTestDataToAutomation({ body: { [key]: e.detail, - ...$automationStore.selectedAutomation.automation.testData.body, + ...$automationStore.selectedAutomation.automation.testData?.body, }, }) }