Programmatic Form Widget
OdapX opened this issue · comments
yahya benzha commented
At the moment forms, or agents can be embedded using an iframe
In order to build more complex workflows, we need to have a widget than can be managed programmatically
(like https://docs.typebot.io/deploy/web/libraries/html-javascript)
use-case: onboarding form (questions about customer company) -> We need to know when the form completed to continue
Component must be injected into Shadow Dom
[inspiration] https://github.com/baptisteArno/typebot.io/blob/main/packages/embeds/js/src/web.ts
Also need posibility to pass custom identifier (e.g. user email)