[{"data":1,"prerenderedAt":569},["ShallowReactive",2],{"navigation":3,"/workflows":261,"/workflows-surround":564},[4,22,50,83,125,161,194,205,231],{"title":5,"path":6,"stem":7,"children":8,"icon":16},"Getting Started","/getting-started","1.getting-started/1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-ph-house",{"title":13,"path":14,"stem":15,"icon":16},"Quickstart","/getting-started/quickstart","1.getting-started/2.quickstart","i-ph-rocket",{"title":18,"path":19,"stem":20,"icon":21},"Plans","/getting-started/plans","1.getting-started/3.plans","i-ph-credit-card",{"title":23,"path":24,"stem":25,"children":26,"icon":29},"Agents","/agents","2.agents/1.index",[27,30,35,40,45],{"title":28,"path":24,"stem":25,"icon":29},"Overview","i-ph-robot",{"title":31,"path":32,"stem":33,"icon":34},"Creating an agent","/agents/creating-an-agent","2.agents/2.creating-an-agent","i-ph-plus",{"title":36,"path":37,"stem":38,"icon":39},"Agent settings","/agents/settings","2.agents/3.settings","i-ph-gear",{"title":41,"path":42,"stem":43,"icon":44},"Memory","/agents/memory","2.agents/4.memory","i-ph-database",{"title":46,"path":47,"stem":48,"icon":49},"Residential proxy","/agents/proxy","2.agents/5.proxy","i-ph-globe-hemisphere-west",{"title":51,"path":52,"stem":53,"children":54,"icon":57},"Chats & Tasks","/chats-and-tasks","3.chats-and-tasks/1.index",[55,58,63,68,73,78],{"title":56,"path":52,"stem":53,"icon":57},"Chats","i-ph-chats-circle",{"title":59,"path":60,"stem":61,"icon":62},"Sharing chats","/chats-and-tasks/sharing-chats","3.chats-and-tasks/2.sharing-chats","i-ph-share-network",{"title":64,"path":65,"stem":66,"icon":67},"Tasks","/chats-and-tasks/tasks","3.chats-and-tasks/3.tasks","i-ph-list-checks",{"title":69,"path":70,"stem":71,"icon":72},"Recurring tasks","/chats-and-tasks/recurring-tasks","3.chats-and-tasks/4.recurring-tasks","i-ph-repeat",{"title":74,"path":75,"stem":76,"icon":77},"Results & deliverables","/chats-and-tasks/results-and-deliverables","3.chats-and-tasks/5.results-and-deliverables","i-ph-package",{"title":79,"path":80,"stem":81,"icon":82},"Save a chat as a skill","/chats-and-tasks/save-chat-as-skill","3.chats-and-tasks/6.save-chat-as-skill","i-ph-sparkle",{"title":84,"path":85,"stem":86,"children":87,"icon":90},"Models & Skills","/models-and-skills","4.models-and-skills/1.index",[88,91,96,101,105,110,115,120],{"title":89,"path":85,"stem":86,"icon":90},"LLM configuration","i-ph-cpu",{"title":92,"path":93,"stem":94,"icon":95},"Providers & models","/models-and-skills/providers","4.models-and-skills/2.providers","i-ph-stack",{"title":97,"path":98,"stem":99,"icon":100},"Bring your own key","/models-and-skills/byok","4.models-and-skills/3.byok","i-ph-key",{"title":102,"path":103,"stem":104,"icon":29},"ChatGPT subscription","/models-and-skills/chatgpt-subscription","4.models-and-skills/4.chatgpt-subscription",{"title":106,"path":107,"stem":108,"icon":109},"Skills","/models-and-skills/skills","4.models-and-skills/5.skills","i-ph-puzzle-piece",{"title":111,"path":112,"stem":113,"icon":114},"Installing skills","/models-and-skills/installing-skills","4.models-and-skills/6.installing-skills","i-ph-download-simple",{"title":116,"path":117,"stem":118,"icon":119},"Custom skills","/models-and-skills/custom-skills","4.models-and-skills/7.custom-skills","i-ph-code",{"title":121,"path":122,"stem":123,"icon":124},"Local models","/models-and-skills/local-models","4.models-and-skills/8.local-models","i-ph-desktop-tower",{"title":126,"path":127,"stem":128,"children":129,"icon":131},"Connect Your Tools","/connect-your-tools","5.connect-your-tools/1.index",[130,132,137,142,147,152,156],{"title":28,"path":127,"stem":128,"icon":131},"i-ph-plug",{"title":133,"path":134,"stem":135,"icon":136},"Telegram","/connect-your-tools/telegram","5.connect-your-tools/2.telegram","i-ph-telegram-logo",{"title":138,"path":139,"stem":140,"icon":141},"Discord","/connect-your-tools/discord","5.connect-your-tools/3.discord","i-ph-discord-logo",{"title":143,"path":144,"stem":145,"icon":146},"Slack","/connect-your-tools/slack","5.connect-your-tools/4.slack","i-ph-slack-logo",{"title":148,"path":149,"stem":150,"icon":151},"Connectors","/connect-your-tools/connectors","5.connect-your-tools/5.connectors","i-ph-link",{"title":153,"path":154,"stem":155,"icon":100},"Secrets","/connect-your-tools/secrets","5.connect-your-tools/6.secrets",{"title":157,"path":158,"stem":159,"icon":160},"Audit log","/connect-your-tools/secret-audit-log","5.connect-your-tools/7.secret-audit-log","i-ph-scroll",{"title":162,"path":163,"stem":164,"children":165,"icon":193},"Account & Team","/account-and-team","6.account-and-team/1.index",[166,169,174,179,184,188],{"title":167,"path":163,"stem":164,"icon":168},"Signing in","i-ph-sign-in",{"title":170,"path":171,"stem":172,"icon":173},"Team members","/account-and-team/teams","6.account-and-team/3.teams","i-ph-users",{"title":175,"path":176,"stem":177,"icon":178},"Roles & permissions","/account-and-team/roles-and-permissions","6.account-and-team/4.roles-and-permissions","i-ph-shield",{"title":180,"path":181,"stem":182,"icon":183},"Invitations","/account-and-team/invitations","6.account-and-team/5.invitations","i-ph-envelope-simple",{"title":185,"path":186,"stem":187,"icon":21},"Billing & upgrades","/account-and-team/billing","6.account-and-team/6.billing",{"title":189,"path":190,"stem":191,"icon":192},"Support","/account-and-team/support","6.account-and-team/7.support","i-ph-lifebuoy","i-ph-user",{"title":195,"path":196,"stem":197,"children":198,"icon":200},"Apps","/apps","7.apps/1.index",[199,201],{"title":195,"path":196,"stem":197,"icon":200},"i-ph-squares-four",{"title":202,"path":203,"stem":204,"icon":119},"Building an app","/apps/building-an-app","7.apps/2.building-an-app",{"title":206,"path":207,"stem":208,"children":209,"icon":211},"Workflows","/workflows","8.workflows/1.index",[210,212,216,221,226],{"title":28,"path":207,"stem":208,"icon":211},"i-ph-flow-arrow",{"title":213,"path":214,"stem":215,"icon":82},"Create a workflow","/workflows/creating-a-workflow","8.workflows/2.creating-a-workflow",{"title":217,"path":218,"stem":219,"icon":220},"Edit sections","/workflows/editing-sections","8.workflows/3.editing-sections","i-ph-pencil-simple",{"title":222,"path":223,"stem":224,"icon":225},"Run and schedule","/workflows/running-and-scheduling","8.workflows/4.running-and-scheduling","i-ph-clock",{"title":227,"path":228,"stem":229,"icon":230},"Workflow directory","/workflows/directory","8.workflows/5.directory","i-ph-compass",{"title":232,"path":233,"stem":234,"children":235,"icon":119},"Agent API","/agent-api","9.agent-api/1.index",[236,237,241,246,251,256],{"title":28,"path":233,"stem":234,"icon":119},{"title":13,"path":238,"stem":239,"icon":240},"/agent-api/quickstart","9.agent-api/2.quickstart","i-ph-rocket-launch",{"title":242,"path":243,"stem":244,"icon":245},"Authentication","/agent-api/authentication","9.agent-api/3.authentication","i-ph-lock-key",{"title":247,"path":248,"stem":249,"icon":250},"Endpoints","/agent-api/endpoints","9.agent-api/4.endpoints","i-ph-list-bullets",{"title":252,"path":253,"stem":254,"icon":255},"Streaming","/agent-api/streaming","9.agent-api/5.streaming","i-ph-broadcast",{"title":257,"path":258,"stem":259,"icon":260},"Errors","/agent-api/errors","9.agent-api/6.errors","i-ph-warning-circle",{"id":262,"title":263,"body":264,"description":557,"extension":558,"links":559,"meta":560,"navigation":561,"path":207,"seo":562,"stem":208,"__hash__":563},"docs/8.workflows/1.index.md","Workflows overview",{"type":265,"value":266,"toc":548},"minimark",[267,271,284,294,297,343,351,356,369,372,422,426,429,470,476,495,499,506,520,524],[268,269,206],"h1",{"id":270},"workflows",[272,273,274,275,279,280,283],"p",{},"A ",[276,277,278],"strong",{},"workflow"," is a repeatable job your agent carries out step by step. For example: \"every\nMonday at 9am, find overdue invoices and email each customer a reminder.\" You describe the job\nin plain English, BetterClaw writes it out as a document, and your agent runs that document on a\nschedule or whenever you press ",[276,281,282],{},"Run now",".",[285,286,287],"note",{},[272,288,289,290,293],{},"Workflows are in ",[276,291,292],{},"Beta",". Expect the feature to keep changing while it's in Beta.",[272,295,296],{},"A workflow is a document, and every part of it can be edited:",[298,299,300,307,313,331,337],"ul",{},[301,302,303,306],"li",{},[276,304,305],{},"A title and a one-sentence description."," These show on the Workflows list and in the\ndirectory.",[301,308,309,312],{},[276,310,311],{},"Sections."," Each section is one step of the job, written as a short paragraph. They run in\norder, top to bottom.",[301,314,315,318,319,322,323,326,327,330],{},[276,316,317],{},"A contract line under each section."," It lists what the section ",[276,320,321],{},"reads"," and ",[276,324,325],{},"writes",",\nand what it ",[276,328,329],{},"uses",": connectors, secrets, or scripts.",[301,332,333,336],{},[276,334,335],{},"An agent."," The agent runs the workflow with its own model, tools, files, and memory.",[301,338,339,342],{},[276,340,341],{},"A schedule, inputs, and connections."," When it runs, the settings it uses on every run,\nand which connected account it uses for each tool.",[272,344,345,346,350],{},"Workflows sit alongside ",[347,348,349],"a",{"href":70},"recurring tasks",". A recurring task\nrepeats one instruction. A workflow splits a job into named steps that you can read, run one at\na time, and check after each run.",[352,353,355],"h2",{"id":354},"where-workflows-live","Where workflows live",[272,357,358,359,361,362,364,365,368],{},"Choose ",[276,360,206],{}," (tagged ",[276,363,292],{},") in the left rail. The Workflows page lists every workflow\nin the current workspace. If your workspace has none yet, it opens ",[276,366,367],{},"New workflow"," instead.",[272,370,371],{},"The rail on the left has:",[298,373,374,381,389],{},[301,375,376,378,379,283],{},[276,377,367],{},": describe a new job. See ",[347,380,213],{"href":214},[301,382,383,386,387,283],{},[276,384,385],{},"Browse the directory",": install a ready-made workflow. See\n",[347,388,227],{"href":228},[301,390,391,394,395,398,399,398,402,398,405,398,408,398,411,398,414,417,418,421],{},[276,392,393],{},"Status"," filters: ",[276,396,397],{},"All workflows",", ",[276,400,401],{},"Needs you",[276,403,404],{},"Running now",[276,406,407],{},"Waiting on a\nperson",[276,409,410],{},"Failed last run",[276,412,413],{},"Ran cleanly",[276,415,416],{},"Stopped by you",", and ",[276,419,420],{},"Never run",". Each\nfilter shows a count.",[352,423,425],{"id":424},"reading-the-list","Reading the list",[272,427,428],{},"Each row shows the workflow's agent, title, and description, along with:",[298,430,431,437,451,457],{},[301,432,433,436],{},[276,434,435],{},"How its last run went",": ok, failed, running now, waiting on a person, stopped by you, or\nnever run. A strip shows how far the run got through the sections.",[301,438,439,442,443,446,447,450],{},[276,440,441],{},"Its schedule and next run",", or ",[276,444,445],{},"Not published yet"," / ",[276,448,449],{},"No schedule"," if it has none.",[301,452,453,456],{},[276,454,455],{},"An on/off switch",", shown once the workflow is published and scheduled.",[301,458,459,322,462,465,466,469],{},[276,460,461],{},"Runs this month",[276,463,464],{},"Last run",", plus a ",[276,467,468],{},"Logs"," link that opens the run history.",[272,471,472,473,475],{},"Anything that needs you is listed first under ",[276,474,401],{},": a failed last run, a run waiting\nfor your approval, or a workflow that paused itself. When something is wrong, a red bar at the\ntop of the list says how many workflows need you.",[272,477,478,479,482,483,486,487,490,491,283],{},"If a run is waiting for your approval, you can answer from the row with ",[276,480,481],{},"Approve and carry\non"," or ",[276,484,485],{},"Don't do it",". You can also choose ",[276,488,489],{},"See everything first",". See\n",[347,492,494],{"href":493},"/workflows/running-and-scheduling#approvals","Approvals",[352,496,498],{"id":497},"duplicate-or-delete-a-workflow","Duplicate or delete a workflow",[272,500,501,502,505],{},"Open a row's ",[276,503,504],{},"⋯"," menu:",[298,507,508,514],{},[301,509,510,513],{},[276,511,512],{},"Duplicate"," makes a copy and opens it, titled \"(copy)\". The copy is off until you publish\nit, so you can change it without affecting the original.",[301,515,516,519],{},[276,517,518],{},"Delete workflow"," removes the workflow, its scripts, and its run history. If a run is\nwaiting on an approval, deleting the workflow cancels that approval. You can't undo a delete.",[352,521,523],{"id":522},"in-this-section","In this section",[525,526,527,533,538,543],"card-group",{},[528,529,530],"card",{"icon":82,"title":213,"to":214},[272,531,532],{},"Describe the job and review the draft before you keep it.",[528,534,535],{"icon":220,"title":217,"to":218},[272,536,537],{},"Change the wording, redraft, adjust reads, writes, and connectors, and add or remove sections.",[528,539,540],{"icon":225,"title":222,"to":223},[272,541,542],{},"Run now, save inputs, set a schedule and timezone, publish, and read each run.",[528,544,545],{"icon":230,"title":227,"to":228},[272,546,547],{},"Install ready-made workflows into your workspace.",{"title":549,"searchDepth":550,"depth":551,"links":552},"",1,2,[553,554,555,556],{"id":354,"depth":551,"text":355},{"id":424,"depth":551,"text":425},{"id":497,"depth":551,"text":498},{"id":522,"depth":551,"text":523},"Repeatable multi-step jobs, written in plain English, that your agent runs on a schedule or on demand.","md",null,{},{"title":28,"icon":211},{"title":263,"description":557},"VuNEBbwI9d9sPppcwKmXMudOVTBDUI8bKpnkZIKpGrc",[565,567],{"title":202,"path":203,"stem":204,"description":566,"icon":119,"children":-1},"The manifest, the bc API, and the rules a BetterClaw app runs under.",{"title":213,"path":214,"stem":215,"description":568,"icon":82,"children":-1},"Describe a job in plain English, review the generated draft, and keep it.",1791467817498]