> 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](/anyflow-sdk/docs.md)を使うことでiframeを生成しこれを埋め込むことが可能です。

## 処理の流れ

### 初期設定

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

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

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

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

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

1. ソリューションはトリガーが発火するのを待機する
2. [トリガー](/solution-editor/triggers.md)が条件を満たし発火する
3. ソリューションインスタンスに基づき、ソリューションが実行される
4. [実行履歴](/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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-embed.anyflow.jp/wizard-editor/wizard-specs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
