Form
Turn a workflow into a form for your website, with a test link before you deploy.
The Form trigger turns a workflow into a form. Each submission runs the workflow once.
Build it
- Add a Form trigger. A workflow with a Form trigger has no other trigger.
- Under Fields, add the fields the visitor fills in. Each field is available to later blocks as
<form.<field name>>. - Optionally end with a Form Reply block: its message is shown to the visitor after they submit. Without one, the visitor sees the trigger's Thank-you message (or is sent to its Redirect URL).
- Before you deploy, click Deploy (it reads Versions once everything is deployed), open Execution settings, pick the environment and choose a service account under Run as. A Live URL always runs as that account, never as you, and a form without one cannot be deployed or promoted. The Test URL runs as that account too or, while none is chosen, as you. The Run as menu beside the toolbar's Run button changes only one manual run.
The Form trigger's other settings are Title, Description, Submit button, Redirect URL and Reply wait (seconds). The redirect URL must be https: a URL that is not https is ignored, and the visitor sees the thank-you message instead. The reply wait (0 to 60, default 30) is how long the page waits for a Form Reply before it shows the thank-you message. The run continues either way.
What a form's run can read and write
A form's runs follow the same rules as a chat's: see What visitors can read and write. Nothing a visitor submits is written into a knowledge base, memex or storage.
Test, go live, embed
The Test URL, Live URL, Allowed origins (the same rules and limits: at most 50 origins, 512 characters each), password and limits work as for the Chat trigger: a Test URL once the workflow is saved in an environment (a workflow that belongs to no environment gets no interface), a Live URL per promoted environment, and the iframe snippet in the trigger's panel once a Live URL exists. In an environment you cannot edit, such as production, the editor does not open: the workflow page's Share tab shows the Live URL, the iframe snippet and whether Interface on is set, and Monitor shows the Live URL on the workflow's trigger line, with a copy button. The hosted page is /form/<identifier>, for example https://app.example.com/agentic/form/<identifier> in subpath mode. A form has no launcher bubble, and its panel's Open test form opens the form in a new tab, as Open test chat does for a chat.
A form's Limits are Submissions per day, all visitors only (default 1,000; the allowance refills every 24 hours). A form keeps no conversations.
A password-protected interface needs https on both the embedding page and the Scrydon host. The sign-in cookie is SameSite=None; Partitioned, which browsers reject over plain http.
From your own UI
submitForm(values) in the interface client returns { status: "replied", message } when a Form Reply answered in time, otherwise { status: "submitted" }.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| The iframe shows a blank page or a browser frame-blocked error | The site is not in Allowed origins, the page is not served over https, or you embedded a Test URL. Only a Live URL can be embedded. |
| Inside the iframe, the password is accepted and the page then says the browser blocks the sign-in | The visitor's browser keeps no cookie for an embedded page (it blocks third-party cookies, or does not support partitioned cookies). The page offers an Open in a new tab link, where the form works as a standalone page. |
Submitting fails with UNAUTHORIZED | The password is missing, wrong or was changed since the visitor signed in. |
Submitting fails with RATE_LIMITED or BUDGET_EXHAUSTED | More than 120 requests a minute reached the form, more than 10 a minute came from one IP address, or the day's submissions are used up. Retry after the Retry-After value, or raise the limit. |
| The URL answers "This page does not exist." | The identifier is wrong, Interface on is off, or the interface was replaced. On a subpath deployment, also check the /agentic prefix. For a Test URL: you are not signed in to Scrydon in that browser, you lack edit access, or the workflow runs as a service account you may not use. |
| The page says "This page is not available right now." | The deployed version cannot run, or the workflow no longer has a working Form trigger. |
| Submitting shows a problem with marked fields | A value does not fit the field's type; fix the marked fields. |
Form publications
Form publications were removed (see Upgrades). Recreate a published form as a workflow with a Form trigger.