{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/79e32a3166844bb6a80cb5164fa4ce16\" frameborder=\"0\" width=\"1180\" height=\"885\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":885,"width":1180,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":885,"thumbnail_width":1180,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/79e32a3166844bb6a80cb5164fa4ce16-6b7152bded297836.gif","duration":658.3,"title":"Adding an Account Agent in a Workflow","description":"This Loom explains how to add an account agent inside a workflow to generate and send a next best action. The author starts in the Workflows home screen, selects a company account segment trigger (top eight accounts), and adds a Run Claygent node configured as an account agent with account context and a JSON output containing a Slack message. They wire the agent output to a node that sends the message to a Slack channel, then save and run the workflow to view results in the test data and runs dashboard, noting failures likely due to Slack configuration. Finally, they show how to build the same workflow using Sculptor with a prompt that asks which segment to use and which Slack account to send to."}