Delivers: Make SEND_EMAIL execution use the workflow step template relation as the single template authority. API-created workflows with templateId on the step and recipient-only JSON config must execute the same way as dashboard-created workflows; existing configs that also duplicate templateId remain compatible.
Done when: a regression test builds the API-valid step shape, drives the real workflow execution seam, and proves the email step completes. The production opt-in repro must turn green on a new exact pinned image without editing the live workflow.
Read the design and operating rules in parent epic #9 before starting.
Delivers: Make
SEND_EMAILexecution use the workflow step template relation as the single template authority. API-created workflows withtemplateIdon the step and recipient-only JSON config must execute the same way as dashboard-created workflows; existing configs that also duplicatetemplateIdremain compatible.Done when: a regression test builds the API-valid step shape, drives the real workflow execution seam, and proves the email step completes. The production opt-in repro must turn green on a new exact pinned image without editing the live workflow.
Read the design and operating rules in parent epic #9 before starting.