> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/wizard-editor/wizard-specs.md).

# ウィザードの仕様

## ウィザードの構成要素

* 画面のタイトルや説明文
* エンドユーザーが持つSaaSアカウントを認証するコネクション設定ボタン
* エンドユーザーの入力を受け付けるウィジェット
* 次へ/完了/キャンセル ボタン

上記の内容をAnyflowのドメイン(wizard.anyflow\.jp)で表示しています。[Anyflow SDK](https://docs-embed.anyflow.jp/anyflow-sdk/docs.md)を使うことでiframeを生成しこれを埋め込むことが可能です。

## 処理の流れ

### 初期設定

1. エンドユーザーはウィザードを表示する
2. コネクション設定ボタンからSaaSアカウントを認証する
3. ウィジェットに値を入力する
4. 完了ボタンを押す
5. Anyflowサーバー上で、[ソリューションインスタンス](https://docs-embed.anyflow.jp/introduction/glossary.md#soryshoninsutansu)が発行される

{% hint style="success" %}
原則として、初期設定の処理は1ソリューション1エンドユーザーにつき1度実施すれば十分です。

インスタンス内容を更新したい場合は、同様の手順で更新できます。

その際、前回のインスタンス内容は保存されているため必要な箇所のみを変更することが可能です。
{% endhint %}

### ソリューション実行

1. ソリューションはトリガーが発火するのを待機する
2. [トリガー](https://docs-embed.anyflow.jp/solution-editor/triggers.md)が条件を満たし発火する
3. ソリューションインスタンスに基づき、ソリューションが実行される
4. [実行履歴](https://docs-embed.anyflow.jp/ops/solution-history.md)が作成される
5. エンドユーザーはウィザードで実行履歴を確認できる

{% hint style="success" %}
ソリューションの実行は、トリガーが発火するたびに行われます。

1つのソリューションインスタンスに対し、何度でもソリューション実行が可能です。
{% endhint %}


---

# 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-embed.anyflow.jp/wizard-editor/wizard-specs.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.
