{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-embeds/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Chatbot layout","description":"Build integrations, automate workflows, and manage forms and responses programmatically with the forms.app API.","siteUrl":"https://developers.forms.app","image":"/assets/formsapp-developer-docs.6ffba4f5ff7d394698661bcdb0ed2a8452f27acaf4e82754e5d0f4109563471c.9c1bb791.png","lang":"en-US","projectTitle":"forms.app Developer Docs","llmstxt":{"sections":[{"title":"llmtxt for forms app documents","includeFiles":["**/*"],"excludeFiles":[]}]},"jsonLd":{"@context":"https://schema.org","@type":"Organization","additionalType":"https://en.wikipedia.org/wiki/Software_as_a_service","url":"https://forms.app","name":"forms.app","logo":"https://cdn.forms.app/icons/all/brands/formsapp-logo-dark.svg","description":"forms.app is a free online form builder designed for teams. forms.app offers a modern, easy-to-use form builder and allows unlimited responses and team members.","foundingDate":"2018","sameAs":"https://linkedin.com/company/formsapp","contactPoint":{"@type":"ContactPoint","contactType":"Customer service","email":"support@forms.app","url":"https://forms.app/en/contact-us"}}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"chatbot-layout","__idx":0},"children":["Chatbot layout"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Renders as a chat-bubble button in the corner of the screen that opens the form in a compact, chat-style window. In ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["formsapp()"]},", this layout's value is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'popover'"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"embed-code","__idx":1},"children":["Embed code"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<script src=\"https://cdn.formsapp.io/embed.js\" type=\"text/javascript\" async defer onload=\"new formsapp('69d4bd130b443bda40c8f65a', 'popover', {'button':{'color':'#ff9e24'},'align':'right'}, 'https://eu.forms.app');\"></script>\n","lang":"html"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The chatbot layout creates its own trigger button, so no placeholder ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<iframe>"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<button>"]}," element is needed; only the loader ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<script>"]}," tag."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"options","__idx":2},"children":["Options"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["button.color"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Hex color of the chat bubble, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'#ff9e24'"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["align"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Which corner the bubble docks to: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'left'"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'right'"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The chatbot layout also supports the shared ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["autoOpen"]}," settings described in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/embeds/embed-options#shared-button-and-auto-open-settings"},"children":["Embed options"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"whats-next","__idx":3},"children":["What's next"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/embeds/embed-options"},"children":["Embed options"]}," for the other layouts."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/embeds/examples"},"children":["Examples"]}," for React, Next.js, Vue, and Kotlin."]}]}]},"headings":[{"value":"Chatbot layout","id":"chatbot-layout","depth":1},{"value":"Embed code","id":"embed-code","depth":2},{"value":"Options","id":"options","depth":2},{"value":"What's next","id":"whats-next","depth":2}],"frontmatter":{"seo":{"title":"Chatbot layout"}},"lastModified":"2026-08-18T10:09:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/embeds/embed-options/chatbot","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}