- 基本情報
- ベスト プラクティス
- データ プライバシー
- Autopilot のチャット
- オートメーションを生成する
- テストを生成する
- Autopilot for Everyone
Autopilot ガイド
Autopilot のチャットは、API ワークフロー アシスタントという独自のツールを使用して、ユーザーの入力に基づいて API ワークフローを生成、編集、分析します。
API ワークフローを生成する
このフェーズは、プロンプトに基づいて新しい API ワークフローをゼロから生成することに重点を置いています。ワークフローの複雑さに応じて、プロンプトで以下のような具体的な指示を出すことができます。
- 使用する API (例: Salesforce、Gmail、Workday)
- 各 API で実行するアクション (例: ケースの作成、メールの送信、従業員のリストの取得)
- ワークフローを管理するルール (例: ケースの優先度が [高] の場合は通知を送信する)
- 実行中に使用するエラー処理メカニズム
動作のしくみ
ワークフローを生成するよう Autopilot にプロンプトで指示すると、Autopilot は要求を分析して中心的な目的を理解します。次に、業務特化型の API ワークフロー アシスタント ツールをアクティブ化し、ワークフローの構造の設計、必要な API 呼び出しの特定、アクションのシーケンスの決定、データ フローの予測を行います。詳細が不足している場合、Autopilot は明確化のための質問をすることがあります。その後、確認のためにプレビューを生成します。
API ワークフローを生成するためのプロンプトの例
| プロンプト | Autopilot のインタラクション |
|---|---|
| First prompt: "Create a workflow that manages new customer sign-ups." | Autopilot は、詳細を尋ねたり、基本的なテンプレートを提供したりする場合があります。 |
| Adding specifics: "When a new customer signs up in our web form (via Webhooks), I want to add them to Salesforce as a new Lead and then send them a welcome email via Gmail." | Autopilot は下書きのワークフローを生成します。 |
| Reviewing initial draft: "Only send the welcome email if their email domain is test.com. Also, if they are from California, set their Salesforce Lead Status to Hot Lead, else, set it to New Lead." | Autopilot は、指定された条件でワークフローを調整します。 |
| Handling errors: "Add error handling to ensure that if the Salesforce lead creation fails, I get a notification on my Slack channel." | Autopilot designs and integrates mechanisms, such as Ttry-Catch blocks or notification activities to make your workflow robust. |
複雑なプロンプトの例
-
New employee onboarding (uses Workday and Slack APIs) "Create a workflow that triggers when a new employee is added to Workday. The workflow should extract the employee name, job title, department, and start date. Then, use the Slack API to post a welcome message in the #office channel, including the employee name, job title, and department. Additionally, send a direct message to the employee with instructions on how to access company resources and complete their onboarding tasks."

-
Case escalation (uses Salesforce and Gmail APIs) "Create a workflow that monitors Salesforce cases with a priority of High and a status of New. If a case remains in this state for more than 4 hours, extract the case details (case number, subject, description, customer name, and contact email). Then, use the Gmail API to send an email to the support manager with the subject 'Urgent Case Escalation' and include the case details in the email body. The email should also contain a link to the case in Salesforce."

簡単なプロンプトの例
-
Sales lead notification (uses Salesforce and Slack APIs) "Create a workflow that sends a Slack message to the #sales channel when a new lead is created in Salesforce with a rating of Hot."

-
New employee onboarding (uses Workday and Gmail APIs) "Create a workflow that sends a welcome email to a new employee personal email when their Workday record is created."

API ワークフローを編集する
このフェーズは、既存の API ワークフローを変更、改善、調整して、進化するニーズを満たすことに重点を置いています。
動作のしくみ
Autopilot にワークフローを編集するよう依頼すると、Autopilot は要求を解析して必要な変更を理解します。次に、Autopilot は API ワークフロー アシスタントに対し、既存のワークフロー内で特定のアクティビティ、パラメーター、または論理ブロックを見つけて変更するよう指示します。そして、データの一貫性を確認したうえで、確認のために変更内容の更新されたプレビューを生成します。
API ワークフローを編集するためのプロンプトの例
| プロンプト | Autopilot のインタラクション |
|---|---|
| Simple change: "Instead of Gmail, use Outlook to send the welcome email." | Autopilot は、アクティビティを変更し、不足している新しいコネクションにフラグを設定します。 |
| Adding new steps: "After the welcome email is sent, add a step to create a new contact in HubSpot with the customer's email and name." | Autopilot は、新しいアクティビティをフローに挿入します。 |
| Modifying parameters: "In the Add Lead to Salesforce step, set the Lead Source field to Web Signup." | Autopilot は、アクティビティ内の特定のパラメーターを調整します。 |
| Modifying conditions: "Update the condition for Hot Lead in Salesforce to California OR New York." | Autopilot は条件ロジックを変更します。 |
| Removing steps: "Remove the step that sends the Slack notification if Salesforce lead creation fails." | Autopilot は、指定したアクティビティを削除します。 |
| Performing multiple edits: "Change the subject of the welcome email to Welcome to Our Service, [Customer Name]! and also add a step to send a summary of the new signup to a Google Chat space." | Autopilot は一度に複数の変更を適用します。 |
| Reviewing the changes: "Show me the updated workflow." | Autopilot は、保留中の内部的な変更のプレビューを新しく生成し (多くの場合、影響を受けるアクティビティの説明が含まれます)、ユーザーが確認するのを待ちます。この段階では、ファイルに恒久的な変更は加えられていません。 |
| Accepting the changes: "Confirm the edits." | Autopilot は API ワークフロー アシスタントに対して、既存のプロジェクト ファイルを更新されたワークフローで上書きして編集を永続的にし、保留中の変更をコミットするよう指示します。 |
API ワークフローを分析する
このフェーズは、既存の API ワークフローに関する洞察を得て、その構造を理解し、潜在的な問題をデバッグすることに重点を置いています。
動作のしくみ
ワークフローを分析するよう Autopilot にプロンプトで指示すると、Autopilot は API ワークフロー アシスタントの分析機能をアクティブ化します。続いて、特定の情報を抽出し、潜在的な問題を診断して、ワークフローの構造、ロジック、パフォーマンスに関する洞察を提供します。Autopilot は、これらの結果を明確で理解しやすい方法で提示します。
API ワークフローを分析するためのプロンプトの例
| プロンプト | Autopilot のインタラクション |
|---|---|
| Summarizing: "Summarize this workflow." | Autopilot は、ワークフローの動作の概要を提供します。 |
| Identifying outputs and inputs: "What inputs does this workflow require?", or "What outputs does this workflow produce?" | Autopilot は、定義済みの入力パラメーターと出力パラメーターを一覧表示します。 |
| Listing used connections and APIs: "What APIs are used in this workflow?" | Autopilot は、接続されているアプリケーション (Salesforce、Gmail、Outlook など) を一覧表示します。 |
| Describing activities or parts of the workflow: "Explain what the Create Lead in Salesforce activity does.", or "Describe the logic within the If Customer Region block." | Autopilot は、ワークフローの指定部分の詳細な説明を提供します。 |
| Troubleshooting: "Why is the 'Send Welcome Email' activity failing?", or " "Analyze this workflow to find any potential infinite loops or dead ends." Provide the context for error messages. | Autopilot は、ワークフローに潜在的な問題がないかを調べて、アクティビティの変更やエラー処理の追加などの解決策を提案します。 |
| Asking for optimization: "Are there any best practices for error handling that I should implement in this workflow?", or "Can this workflow be optimized for better performance?" | Autopilot は、オートメーションのベスト プラクティスに基づいて提案を提供します。 |