> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/open-flow-panel.md).

# Flow パネルを開く

ユーザーがメインページを表示したまま、プロセスを完了したりデータを入力したりできるように、スライド式のサイドパネルで Salesforce フローを起動します。

## 概要

Open Flow Panel インタラクションは、コンポーネントに付属するスライド式のサイドパネル内で Salesforce フローを起動します。これにより、ユーザーはメインページを表示したままプロセスを完了したりデータを入力したりでき、必要に応じて入力変数をフローに渡し、フローの完了、終了、または失敗時に応答できます。

## 設定

{% hint style="danger" %}

#### パネルでフローを表示する

Open Flow Dialog インタラクションと同様に、表示したいフローは Experience Cloud サイトのページに追加されている必要があり、さらにパネルが読み込む前にサイトを公開しておく必要があります。セットアップ手順とトラブルシューティングのヒントについては、 [Flow ダイアログを開く](https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/open-flow-dialog.md) ページを参照してください — 同じ設定は Flow Panel インタラクションにも適用されます。
{% endhint %}

| Name               | 説明                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`Flow API 名`**   | パネル内で実行される Salesforce フローの API 名です。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **`入力変数`**         | <p>フローの開始前に渡されるオプション変数で、フローが必要とする初期値やコンテキストを提供します。各変数は次を定義します:</p><ul><li><strong>Name</strong>: 設定するフロー入力変数のAPI名。</li><li><strong>値</strong>: 割り当てる値 — 静的テキストまたは動的式。</li><li><strong>種類</strong>: 値のデータ型（<code>文字列</code>, <code>数値</code>, <code>ブール値</code>, <code>日付</code>, <code>日時</code> または <code>SObject</code>）。標準でない型や特殊な型が必要な場合は、カスタム値を入力することもできます。</li><li><strong>オブジェクト型</strong>: 型が <code>SObject</code>の場合、オブジェクトのAPI名（例： <code>Account</code> または <code>Contact</code>）を指定すると、フローがオブジェクト構造を正しく解釈できます。</li><li><strong>コレクションかどうか</strong>: フロー変数が単一値ではなく値のコレクションを想定している場合に有効にします。</li></ul> |
| **`パネルヘッダー`**      | パネル上部に表示される任意のヘッダーテキストです。インタラクションがレコード関連の項目によってトリガーされる場合は、次の構文を使用してこのレコードのフィールドを参照できます。 `{{Record.FieldName}}` 構文（例: `{{Record.Name}}`).                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **`位置`**           | パネルがスライドインする方向を制御します。 `左` または `右` 側（既定）。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **`外側`**           | コンポーネントの境界内ではなく、その外側にパネルを表示するトグルです。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **`重ねて表示`**        | コンポーネントのコンテンツの上に、オーバーレイ形式でパネルを表示するトグルです。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **`オーバーレイを表示`**    | パネルが重ねて表示されている場合、その背後に暗くした背景を表示します。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **`サイズ`**          | パネルの幅: `小`, `中` （デフォルト）、 `大`, `特大` または `全画面`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **`閉じるアイコンを非表示`**  | 閉じるアイコンを削除し、ユーザーがヘッダーのアイコンからパネルを閉じられないようにするトグルです。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **`完了時インタラクション`**  | フローが正常に完了した後の動作を定義します。使用可能なインタラクションは `トーストを表示` および `すべてのクエリを更新`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **`閉じる時インタラクション`** | ユーザーがフローパネルを手動で閉じたときの動作を定義します。使用できるインタラクションは `トーストを表示` および `すべてのクエリを更新`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **`エラー時インタラクション`** | フロー内でエラーが発生した場合に実行するアクションを指定します。使用可能なインタラクションは `トーストを表示` および `すべてのクエリを更新`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |

## 例

サービスポータルを想像してください。エージェントが、背後にあるレコードを見失うことなくケースを更新します:

1. コンポーネントのアクションで、インタラクションを設定し **種類** から **Flow パネルを開く** そして **Flow API 名** Update Case フローを指定します。
2. 次を追加します: **入力変数** という名前の `recordId`、値として `{{Record.Id}}` および型として `文字列`、これによりフローが正しいケースで開きます。
3. 次を設定します **パネルヘッダー** から `{{Record.CaseNumber}} を更新`、 **位置** オン `右`、そして次を選択します: `中` **サイズ**.
4. 次の項目で **完了時**、追加し `トーストを表示` 更新を確定するために、次に `すべてのクエリを更新` そうすると、パネルの背後にあるリストに新しい値が反映されます。

## 重要な考慮事項

* ユーザーがフローを完了する間もメインページの内容を表示しておく必要がある場合は、ダイアログではなくパネルを使用してください。
* 次のために `重ねて表示` および `オーバーレイを表示` コンポーネントのコンテンツから一時的にフォーカスを外すべきフロー向けのオプションです。
* 適切なユーザー期待値を設定するために、On Finish Interaction でフローの結果を明確にしてください。
* Experience Cloud 上でフローが適切に実行できるように、フローがアクセス権を持っていることを確認してください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/open-flow-panel.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
