Automate Rovo agents
Agents can be automated to perform repetitive tasks.
Using an agent within an automation flow allows the agent to take actions directly in any apps the agent has access to, like updating work items, creating pages, or posting comments.
There are two ways to do this: add a trigger to an agent's configuration, or add the agent to an automation flow.
When agents are used in automations, they can be configured without requiring user confirmation for every action.
Think carefully about how you configure your agent and follow our recommended best practices
Admins and users can prevent agents from acting in automations.
If they do, any agent tools that perform any kind of write action will fail and you'll need to use the {{agentResponse}} smart value in automation actions for all flows.
エージェントにトリガーを追加する
エージェントのマネージャーまたは編集者である場合は、エージェントの構成にトリガーを追加できます。
Navigate to Studio from the App switcher ().
[Agents (エージェント)] を選択します。
Browse agents to find the agent you want to automate.
Select the agent to open it’s settings.
Select Triggers from the sidebar.
Any existing flows that trigger this agent are listed, organized by app.
[Add automation trigger (自動化トリガーを追加)] を選択して、このエージェントをトリガーするイベントを設定します。
You’ll be redirected to Automations to finish configuring your flow.
フローを保存して有効化します。
Refresh your agent’s Triggers screen to see it listed.
自動化フローにエージェントを追加する
If you are a space or app admin in Jira or Confluence, you can create an automation flow that invokes an agent to perform a secondary action.
Anyone with Studio access can create an automation flow.
Navigate to Studio from the App switcher ().
[自動化] を選択します。
Select Create flow.
フローにトリガーを追加し、必要に応じて設定します。
Select Next, then Add an action.
Find and select the action, Use agent.
Rovo を自動化に接続して、エージェントがユーザーの代理でアクションを実行できるようにします。
エージェントを選択します (必須)。
プロンプトを記述します (必須)。
If the agent can’t act in automations, you'll need to add additional actions that use the output of the agent with the {{agentResponse}} smart value.
More about how to configure the Use agent action
フローの例
Out-of-the-box agents don’t take actions. Add actions to the automation after the agent step.
For your own agents, add tools so the agent performs your chosen actions. Your automations can be simple, like triaging a work item.
シナリオ | ルール |
|---|---|
エージェントとして Decision Director を使用する タイトルに「DACI」が含まれる新しい Confluence ページが公開されると、自動化フローがトリガーされます。Decision Director エージェントは、ページを確認し、改善を提案するコメントを残す必要があります。 |
タイミング: ページの公開時 IF: Rovo 条件 タイトルのコンテンツが指定のテキストに関連している DACI (フィールド テキスト) THEN: Use agent, Decision director このページのコンテンツを確認して、推奨事項を提示する (プロンプト) THEN: ページにコメントを追加する {{agentResponse}} (フィールド テキスト) |
エージェントとして Jira Work Item Organizer を使用する 親タスクまたはエピックを持たない作業項目が作成されると、自動化フローがトリガーされます。Jira Work Item Organizer エージェントは、関連する親を見つけ、新しい作業項目に提案をコメントとして残す必要があります。 |
WHEN: Jira での作業項目の作成時 IF: 作業項目フィールドの条件 タイプが [すべての子作業項目タイプ] のいずれかである AND IF: 関連する作業項目の条件 親が存在しない THEN: Use agent, Jira work item organizer 該当する作業項目に関連する親 (またはエピック) を見つけて、それを推奨する理由を説明する (プロンプト) THEN: 作業項目にコメントを追加する {{agentResponse}} (フィールド テキスト) |
エージェントとして Jira Theme Analyzer を使用する 2 日ごとに午前 8 時に自動化フローがトリガーされます。Jira Theme Analyzer エージェントは、過去 2 日間に作成された作業項目のデータを分析し、テーマ別に整理した要約を Slack で送信する必要があります。 |
タイミング: スケジュール設定済み 1 日おきに午前 8 時 THEN: Use agent, Jira theme analyzer 過去 2 日間に作成された作業項目からテーマを特定する (プロンプト) THEN: Slack メッセージを送信する {{agentResponse}} (フィールド テキスト) |
この内容はお役に立ちましたか?