{"id":1375,"date":"2026-03-18T10:03:25","date_gmt":"2026-03-18T10:03:25","guid":{"rendered":"https:\/\/onesystemcrm.com\/help\/?post_type=docs&#038;p=1375"},"modified":"2026-03-18T10:03:25","modified_gmt":"2026-03-18T10:03:25","password":"","slug":"workflow-action-invoke-agent-studio-agent","status":"publish","type":"docs","link":"https:\/\/onesystemcrm.com\/help\/docs\/workflow-action-invoke-agent-studio-agent\/","title":{"rendered":"Workflow Action &#8211; Invoke Agent Studio Agent"},"content":{"rendered":"<p>Bring the full power of AI to any automation. The new Invoke Agent Studio Agent workflow action lets you run a Production Agent Studio agent mid-flow, pass it real-time data, and route the result to the next step, no code required.<\/p>\n<h1 id=\"\u200b\u200bWhat-is-Invoke-Agent-Studio-Agent?\" class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-6f80d201-9651-4ca0-bd65-8727ffae996d\"><strong>What is Invoke Agent Studio Agent?<\/strong><\/h1>\n<div class=\"ql-block\" data-block-id=\"block-d2b7609d-8484-440d-a3da-bd80043a7301\"><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-d2b7609d-8484-440d-a3da-bd80043a7301\">Invoke Agent Studio Agent is a workflow action that calls any Agent Studio agent you have published to Production and configured with a Chat Trigger. When the action runs, the selected agent executes in the background, returns its output to the workflow, and hands control back so the automation can continue.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-d2b7609d-8484-440d-a3da-bd80043a7301\"><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-d2b7609d-8484-440d-a3da-bd80043a7301\">This bridges visual automations and no-code AI agents, enabling sophisticated reasoning, content generation, and external actions inside the same workflow canvas.<\/div>\n<hr \/>\n<h2 id=\"Key-Benefits-of-Invoke-Agent-Studio-Agent\" dir=\"ltr\"><strong>Key Benefits of Invoke Agent Studio Agent<\/strong><\/h2>\n<div class=\"ql-block\" data-block-id=\"block-4b7f3fda-b610-4d01-aa38-5e536ce67e60\">Harnessing agents inside Workflows unlocks outcomes that previously required multiple tools or complex custom code.<\/div>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-9ef9faed-f5cf-49af-a57f-b4c9125bc137\"><strong>AI anywhere:\u00a0<\/strong>Drop the action before, after, or between any other step for context-aware branching.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-9ef9faed-f5cf-49af-a57f-b4c9125bc137\"><strong>Real-time insights:\u00a0<\/strong>Summarise conversations, predict next steps, or score leads instantly.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-d7765499-892d-4acf-9daf-8dffe18e7262\"><strong>Multi-channel output:\u00a0<\/strong>Pipe the agent\u2019s response into Email, SMS, WhatsApp, internal notifications, or custom values.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-aa0fec61-df99-4df5-bf47-09546965e468\"><strong>Unified data:<\/strong>\u00a0Update contacts, opportunities, custom objects, or Google Sheets with the agent\u2019s structured JSON output.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-5c6574c0-539f-46bd-8a7e-cda1f770264b\"><strong>Scalable creativity:\u00a0<\/strong>Generate copy, images, proposals, or tasks on demand\u2014cut production time and costs.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-c88c6701-c4c4-45e9-a282-9935a5c8e2de\"><strong>No limits on logic:\u00a0<\/strong>Chain agents, Webhooks, API calls, or If\/Else conditions to create end-to-end automations.<\/div>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"Prerequisites-&amp;-Permissions\" class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-8c7fd11f-5fbc-4547-929d-b282670c43a7\"><strong>Prerequisites &amp; Permissions<\/strong><\/h2>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-8c7fd11f-5fbc-4547-929d-b282670c43a7\">Running an agent inside a workflow requires:<\/div>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-56209c74-808c-4a81-ada1-18add74727b5\">An active AI Employee add-on (Agent Studio access).<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-56209c74-808c-4a81-ada1-18add74727b5\">An Agent Studio agent published to Production. Draft or Staging versions will not appear in the dropdown.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-56209c74-808c-4a81-ada1-18add74727b5\">A Chat Trigger enabled on the agent so it can start from a message payload.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-56209c74-808c-4a81-ada1-18add74727b5\">Location permissions to edit workflows and AI agents.<\/div>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"Workflow-Action-Settings\" class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-b0d24760-7bf4-4da9-951a-ff4bafb5f603\"><strong>Workflow Action Settings<\/strong><\/h2>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-7471617c-187e-436f-a4da-9e23fd6c7f6d\">Invoke Agent Studio Agent appears in the action selector. Open the sidebar to configure:<\/div>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-4e8b684c-957c-446a-950a-9cd64aeb1765\"><strong>Agent:<\/strong>\u00a0Choose any Production agent in the current sub-account.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-4e8b684c-957c-446a-950a-9cd64aeb1765\"><strong>Message (optional):<\/strong>\u00a0Free-text string that will be sent as the agent\u2019s chat message. Use merge fields for dynamic values.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-18db47c2-9147-4282-9261-4e163cdff25a\"><strong>Input Variables:<\/strong>\u00a0Map workflow custom values or static text to the agent\u2019s named input variables. Unmapped required variables will halt the action.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-1b4a623a-ba8f-4603-a1c8-901e590acf07\"><strong>Store Output As:\u00a0<\/strong>Pick (or create) a custom value to capture the agent\u2019s full JSON response for downstream steps.<\/div>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"Using-Agent-Output-Downstream\" class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-bf0cb103-af71-4809-9fb8-cfc419c00b3d\"><strong>Using Agent Output Downstream<\/strong><\/h2>\n<div class=\"ql-block\" data-block-id=\"block-94c34bfb-19b2-41e7-97b1-0695a32b3889\">The action returns the agent\u2019s response object, including top-level text, JSON payloads, and all variables set inside the agent. Common patterns:<\/div>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-b2c2b147-b273-4a0b-821c-4be730dd6227\">Update Contact \u00bb Set a custom field to the agent\u2019s summary.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-b2c2b147-b273-4a0b-821c-4be730dd6227\">If\/Else \u00bb Branch when agent.result.score \u2265 80.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-74de3f98-d3ae-4ed6-92a2-236b74ae6039\">Send Email \u00bb Insert into the body.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-c8c50765-f034-4dce-bdcb-ff3b6109b8b9\">Webhook \u00bb POST the entire JSON to a third-party service for fulfilment.<\/div>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"Best-Practices-&amp;-Example-Use-Cases\" class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-57f92e48-619d-45e6-87b5-5c44c2962fd3\"><strong>Best Practices &amp; Example Use Cases<\/strong><\/h2>\n<div class=\"ql-block\" data-block-id=\"block-46f53912-1291-4597-9a63-fb73376ff487\">Thoughtful design prevents loops and keeps runs fast:<\/div>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-3210b761-465e-43e0-a43b-1251c24b3a42\">Keep prompts short and supply structured context via variables.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-3210b761-465e-43e0-a43b-1251c24b3a42\">Return machine-readable JSON from the agent for reliable branching.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-3ebb9504-adb4-476d-9ffa-5dbc41100667\">Wrap long-running external calls inside the agent (API node) instead of after the action.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-70cbc8a5-3fe6-4eb1-b9ab-d4671c03e37a\"><strong>Example 1:\u00a0<\/strong>\u201cLead Enrichment\u201d Trigger on Form Submitted \u2192 Invoke agent to research company \u2192 Update Opportunity &amp; Notify rep.<\/div>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-d427bdb8-6da7-4d30-9da1-c8271f46ba23\"><strong>Example 2:\u00a0<\/strong>\u201cConversation Summary\u201d &#8211; After Conversation Closed \u2192 Invoke agent to summarise chat \u2192 Save note &amp; Send recap email.<\/div>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"How-To-Setup-Invoke-Agent-Studio-Agent\"><strong dir=\"ltr\">How To Setup Invoke Agent Studio Agent<\/strong><\/h2>\n<p class=\"p3\">Proper setup begins inside Agent Studio before configuring the Workflow action. The agent must be correctly built and published before it becomes available inside Workflows.<\/p>\n<h3 id=\"Build-the-Agent-in-Agent-Studio\"><strong dir=\"ltr\">Build the Agent in Agent Studio<\/strong><\/h3>\n<ul>\n<li>\n<p class=\"p1\" dir=\"ltr\">Navigate to\u00a0<span class=\"s1\"><strong>Agent Studio<\/strong><\/span>.<\/p>\n<\/li>\n<\/ul>\n<p class=\"p1\" dir=\"ltr\"><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155065743727\/original\/bqiF-IheOO0xhspMWoE8hcHNv8zY0xmsXQ.png?1772092135\" data-attachment=\"[object Object]\" data-id=\"155065743727\" data-index=\"0\" \/><\/p>\n<ul>\n<li class=\"p1\" dir=\"ltr\">Create a new agent.<\/li>\n<\/ul>\n<ul>\n<li class=\"p1\" dir=\"ltr\">Select\u00a0<span class=\"s1\"><strong>Chat Message<\/strong><\/span>\u00a0as the trigger.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155065744012\/original\/84px9jKZP3RSJMQ4TnS7SGZg5cqFs6s0dg.png?1772092262\" data-attachment=\"[object Object]\" data-id=\"155065744012\" data-index=\"1\" \/><\/p>\n<ul>\n<li class=\"p1\" dir=\"ltr\">Configure the agent\u2019s instructions and input variables.<\/li>\n<li class=\"p1\" dir=\"ltr\"><span class=\"s1\" dir=\"ltr\">Click\u00a0<\/span><strong>Publish to Production<\/strong><span class=\"s1\" dir=\"ltr\">.<\/span><\/li>\n<\/ul>\n<pre class=\"fd-callout fd-callout--note\" dir=\"ltr\"><span dir=\"ltr\">Only published agents will appear inside the Workflow action dropdown.<\/span><\/pre>\n<hr \/>\n<h3 id=\"Add-the-Workflow-Action\"><strong dir=\"ltr\">Add the Workflow Action<\/strong><\/h3>\n<ul>\n<li>\n<p class=\"p1\"><span class=\"s1\">Navigate to\u00a0<\/span><strong>Automation \u2192 Workflows<\/strong><span class=\"s1\">.<\/span><\/p>\n<\/li>\n<li>\n<p class=\"p1\" dir=\"ltr\">Open or create a workflow.<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155065744136\/original\/qkI69KSSd1krHNCw-vrSkp5Hhfx0cuj-bQ.png?1772092370\" data-attachment=\"[object Object]\" data-id=\"155065744136\" data-index=\"2\" \/><\/p>\n<ul>\n<li>\n<p class=\"p1\"><span class=\"s1\">Click\u00a0<\/span><strong>+ Add Action<\/strong><span class=\"s1\">.<\/span><\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\">Under\u00a0<\/span><strong>Agent Studio<\/strong><span class=\"s1\">, select\u00a0<\/span><strong>Invoke Agent Studio Agent<\/strong><span class=\"s1\" dir=\"ltr\">.<\/span><\/p>\n<\/li>\n<\/ul>\n<p class=\"p1\"><span class=\"s1\" dir=\"ltr\"><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155065744322\/original\/L67Qtm5sYBNzafFUD2RjIZ5GSrAv4tVyRw.png?1772092442\" data-attachment=\"[object Object]\" data-id=\"155065744322\" data-index=\"3\" \/><\/span><\/p>\n<hr \/>\n<h3 id=\"Configure-the-Workflow-Action\"><strong dir=\"ltr\">Configure the Workflow Action<\/strong><\/h3>\n<p class=\"p1\" dir=\"ltr\">Once you add the\u00a0<span class=\"s1\"><strong>Invoke Agent Studio Agent<\/strong><\/span>\u00a0action to your workflow, the configuration panel determines which agent runs and what data is passed to it. Proper configuration ensures the agent executes successfully and returns meaningful output.<\/p>\n<h3 id=\"Action-Name\"><strong dir=\"ltr\">Action Name<\/strong><\/h3>\n<p class=\"p1\">The\u00a0<span class=\"s1\"><strong>Action Name<\/strong><\/span>\u00a0field allows you to rename this workflow step for clarity. This is especially useful if you plan to use multiple agents within the same workflow.<\/p>\n<p class=\"p1\" dir=\"ltr\">Example:<\/p>\n<ul>\n<li>\n<p class=\"p1\">Lead Message Analyzer<\/p>\n<\/li>\n<li>\n<p class=\"p1\">AI Summary Step<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Sales Insight Generator<\/p>\n<\/li>\n<\/ul>\n<p class=\"p1\">Renaming this field does not affect how the agent runs \u2014 it only helps organize your workflow visually.<\/p>\n<h3 id=\"\"><\/h3>\n<p><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155065744902\/original\/RIkuylxRRSy5Jr14TnYbmL9oV9cYwWPD1w.png?1772092941\" data-attachment=\"[object Object]\" data-id=\"155065744902\" data-index=\"4\" \/><\/p>\n<h3 id=\"Select-Agent-(Required)\"><strong dir=\"ltr\">Select Agent (Required)<\/strong><\/h3>\n<p class=\"p1\">In the\u00a0<span class=\"s1\"><strong>Select Agent<\/strong><\/span>\u00a0dropdown:<\/p>\n<ul>\n<li>\n<p class=\"p1\">You will see all agents that:<\/p>\n<ul>\n<li>\n<p class=\"p1\">Are published to Production<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Use the Chat Message trigger<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p class=\"p1\">Select the specific agent you want to execute in this workflow.<\/p>\n<p class=\"p1\" dir=\"ltr\"><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155065744919\/original\/b1ck2XFDxI4GG6FPWKxmD3CZ61j_EC1szw.png?1772092960\" data-attachment=\"[object Object]\" data-id=\"155065744919\" data-index=\"5\" \/><\/p>\n<p class=\"p1\">If your agent does not appear:<\/p>\n<ul>\n<li>\n<p class=\"p1\">Confirm it is published to Production<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Confirm it uses the Chat Message trigger<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"Message-Field-(Optional-but-Recommended)\"><strong dir=\"ltr\">Message Field (Optional but Recommended)<\/strong><\/h3>\n<p class=\"p1\">The\u00a0<span class=\"s1\"><strong>Message<\/strong><\/span>\u00a0field allows you to define what the agent should do when the workflow reaches this step. You can provide instructions and include workflow custom values to pass dynamic data to the agent.<\/p>\n<p class=\"p1\" dir=\"ltr\"><strong>Example: \u00a0<\/strong>Analyze the contact\u2019s last inbound message and provide a short summary along with recommended next actions for the sales team.<\/p>\n<p class=\"p1\" dir=\"ltr\"><strong>Example with personalization:\u00a0<\/strong>Analyze the most recent message from {{contact.name}} and provide a short summary along with recommended next actions for the sales team.g<\/p>\n<p class=\"p1\">Custom values (such as\u00a0<span class=\"s1\">{{contact.name}}<\/span>) are resolved before the agent executes, meaning the agent receives fully rendered content specific to that contact.<\/p>\n<p class=\"p1\"><img decoding=\"async\" class=\"fr-fil fr-dib fr-bordered fw-lightbox-img\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/155065745226\/original\/WIWcthT9xDIJ3f3o0v2bMKbkuhSKVWTjng.png?1772093215\" data-attachment=\"[object Object]\" data-id=\"155065745226\" data-index=\"6\" \/><\/p>\n<h3 id=\"-1\"><\/h3>\n<h3 id=\"Important-Configuration-Notes\"><strong dir=\"ltr\">Important Configuration Notes<\/strong><\/h3>\n<ul>\n<li>\n<p class=\"p1\">Any required input variables defined inside the agent must be mapped correctly.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">If required inputs are missing, the agent may fail to execute.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">The agent runs immediately when the workflow reaches this step.<\/p>\n<\/li>\n<li>\n<p class=\"p1\" dir=\"ltr\">The response becomes available for downstream use as {{agent_studio_execution.response}}<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3 id=\"Configure-Inputs-and-Save\"><strong dir=\"ltr\">Configure Inputs and Save<\/strong><\/h3>\n<ul>\n<li>\n<p class=\"p1\">Map required input variables.<\/p>\n<\/li>\n<li>\n<p class=\"p1\">Enter optional instructions in the Message field.<\/p>\n<\/li>\n<li>\n<p class=\"p1\"><span class=\"s1\">Click\u00a0<\/span><strong>Save Action<\/strong><span class=\"s1\">.<\/span><\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h2 id=\"Frequently-Asked-Questions\" class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-bb3393c6-27dc-493c-b0a8-40838f189e53\"><strong>Frequently Asked Questions<\/strong><\/h2>\n<p>&nbsp;<\/p>\n<div class=\"ql-block\" data-block-id=\"block-5658c372-bf2b-45ca-8f91-c6732d67aac8\"><strong>Q: Why doesn\u2019t my agent appear in the dropdown?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-45fa6879-7d5b-4008-b6e1-053f84fdf39e\">Only agents published to Production and owned by the current sub-account are listed. Promote the Staging version, refresh the builder, and try again.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-45fa6879-7d5b-4008-b6e1-053f84fdf39e\"><strong>Q: Can one workflow call multiple agents?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-20d22b53-a53d-4280-8391-5129632df4d2\">Yes. add as many Invoke Agent Studio Agent actions as you like. Chain them sequentially or in separate branches.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-20d22b53-a53d-4280-8391-5129632df4d2\"><strong>Q: What happens if the agent errors out?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-9323eed1-0cfd-4598-9473-34f8e4bc6977\">The action will fail and surface an error message in the workflow log. Use an On Failure path or a Try\/Catch If\/Else branch to handle gracefully.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-9323eed1-0cfd-4598-9473-34f8e4bc6977\"><strong>Q: Are additional AI credits consumed?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-bd31b17b-aae2-4830-8242-869d3be43bbd\">Agent runs use the same metering as when you run the agent from Agent Studio. There is no extra workflow surcharge.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-bd31b17b-aae2-4830-8242-869d3be43bbd\"><strong>Q: Is there a timeout?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-e5a570ad-5cc0-4ac8-a1f7-a7e75ea3e0c0\">Yes. Agents must respond within 60 seconds. Flows will pause if the limit is exceeded, then retry according to your workflow error settings.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-e5a570ad-5cc0-4ac8-a1f7-a7e75ea3e0c0\"><strong>Q: Can I trigger a workflow from inside an agent?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-5492d4bd-3e91-478b-8ccc-9d7baab54acb\">Sure, use the HTTP or Webhook node inside the agent to call the Workflow API, but avoid circular loops.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-5492d4bd-3e91-478b-8ccc-9d7baab54acb\"><strong>Q: Does the action work in Draft workflows?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-f4c6e8fe-edce-4bef-9550-39f1a3404ea5\">Absolutely. You can test the action in Draft mode; contacts will process once the workflow is Published.<\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-f4c6e8fe-edce-4bef-9550-39f1a3404ea5\"><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-f4c6e8fe-edce-4bef-9550-39f1a3404ea5\"><strong>Q: How do I debug variable mapping issues?<\/strong><\/div>\n<div class=\"ql-block\" dir=\"ltr\" data-block-id=\"block-8d4e6eb0-1b85-4306-8116-cdfe45b8d029\">Turn on Run Logs in Agent Studio to view received inputs and returned outputs, then compare with the workflow\u2019s Execution Log.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Bring the full power of AI to any automation. The new Invoke Agent Studio Agent workflow action lets you run [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[64],"doc_tag":[],"class_list":["post-1375","docs","type-docs","status-publish","hentry","doc_category-workflow-actions"],"year_month":"2026-12","word_count":1183,"total_views":"94","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"usamasaeed219","author_nicename":"usamasaeed219","author_url":"https:\/\/onesystemcrm.com\/help\/author\/usamasaeed219\/"},"doc_category_info":[{"term_name":"Workflow Actions","term_url":"https:\/\/onesystemcrm.com\/help\/docs-category\/workflow-actions\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/comments?post=1375"}],"version-history":[{"count":1,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1375\/revisions"}],"predecessor-version":[{"id":1376,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/docs\/1375\/revisions\/1376"}],"wp:attachment":[{"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/media?parent=1375"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/doc_category?post=1375"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/onesystemcrm.com\/help\/wp-json\/wp\/v2\/doc_tag?post=1375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}