Projects

Publishing and sharing

Publish a project to make its interview available to respondents. Then share it as a link, a QR code, an embed on your website or personal invite links.

Drafts and publishing#

To publish, turn on the Live switch in the top bar. To unpublish, turn it off. The link then shows an access denied page instead of the interview.

While a project is live, your edits in General, Voice, Context and Questions save as a draft. Respondents see them only after you click Publish changes. Conversations already in progress keep the questions they started with.

Respondent access, embed settings, Slack settings and project access apply immediately, without publishing.

Before you can publish#

  • The project has a Product or service name.
  • It has at least one question.
  • Your trial is active or you have a paid plan.
  • Your organization is within its project limit.

When usage runs out

Publishing doesn't check your usage. If your organization runs out of AI messages, live links show an unavailable page until more are available. See AI messages and usage.

In Share, open Link. Click Copy for the link or Download QR code for an SVG you can print. Links look like acme.diaform.io/c/<project-id>. Invite-only projects have no public link. See Identifying respondents.

In Share → Link, click Password, enter a password of at least 4 characters and click Set password. Respondents then enter it before the conversation starts, on your link and in embeds. Nothing about the project is shown until they do, and no conversation is counted.

Diaform remembers a browser for 48 hours after the correct password is entered. After 8 incorrect attempts, a visitor has to wait 5 minutes. To change the password, open Password again and enter a new one. Click Remove password to switch it off. The password is stored encrypted, so Diaform can't show it to you again.

Personal invite links don't ask for the password, because each link belongs to one person.

Embed on your website#

In Share, open Embed and pick your framework: HTML, React, Next.js, Vue or Svelte. The project must be live and public.

OptionUse it for
Chat bubbleA launcher in the corner of your pages that opens the interview in a side panel
Inline iframeThe interview inside a page, such as a dedicated feedback page

The Welcome message, up to 120 characters, shows above the bubble until the visitor opens it. Click Save changes to keep it.

The bubble snippet stores your agent name, avatar, accent color and welcome message as they were when you copied it. Copy it again after changing any of them.

To tie a conversation to a user in your app, set data-identifier on the bubble script. The React and Next.js snippets take an identifier prop. For the iframe, add &identifier= to the src URL. Diaform saves the value with the conversation.

To open the bubble from your own button, call:

JavaScript
window.Diaform("open"); // also "close" and "toggle"

Domain restriction#

Turn on Domain restriction and list your Allowed domains, one per line, as full URLs such as https://example.com. https://*.example.com covers subdomains but not example.com itself. Embeds on any other site show "Embed not allowed". People can still open your link directly.

Subdomains and custom domains#

Your links use your organization's subdomain. If you change it in Settings under Domain, every old link, QR code, invite link and embed snippet stops working immediately.

On Business and Enterprise plans you can connect a custom domain such as feedback.acme.com. Once it's verified, share links use it, and subdomain links keep working. See Organization settings.