Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
import type { WorkflowCopilotStreamResponseUpdate } from "./workflowCopilotTypes";
export const shouldAutoApplyWorkflowResponse = (
response: WorkflowCopilotStreamResponseUpdate,
) => {
return Boolean(
response.updated_workflow &&
// The server decides: it wrote the row and committed (or did not commit) canonical for this turn.
response.workflow_applied === true,
);
};