Skip to content

Use Typeform to collect answers in your app: your app lists your forms, opens a form’s own Typeform page for people to fill in, and reads the responses that they send. The agent can also create new forms. To connect, you need a Typeform personal access token.

Connect Typeform

To connect Typeform, first create a personal access token in Typeform under Account › Personal tokens, with the scopes accounts:read, forms:read, forms:write, and responses:read. The token starts with tfp_, and Typeform shows it only once.

Only a project owner can connect Typeform. If you’re a project owner, connect it:

  1. Open Project Settings › Connections, and then turn on the switch for Typeform.
  2. In the Connect Typeform dialog, paste the token into Personal access token. To open Typeform’s personal tokens page, click Find it beside the label.
  3. Click Connect.

For more about connecting, see Connect a service.

What to ask

Ask the agent for the screen or form that you want, and name the Typeform form it uses. Your app can list your forms, read a form’s questions, read the responses that people sent to a form, and create a form in your Typeform account. A form that the agent creates takes responses right away.

Example request

Add a Feedback button that opens my Customer feedback form in Typeform, and a Responses screen that lists the newest answers to it.

Example request

Create a Typeform form called Event sign-up that asks for a name, an email address, and which session the person wants, from a dropdown of Morning, Afternoon, and Evening.

A response doesn’t say which of your app’s users sent it. To match responses to people, ask the agent to give the form a hidden field, such as the person’s ID, that your app adds to the form’s link.

Agent questions

If Typeform isn’t connected, the agent asks you to connect it in a card above the message box. If you aren’t a project owner, ask one to connect Typeform. See Connect when the agent asks.

Review

After the agent finishes, read the turn’s Summary and review its Changes. Check the affected screens in Screens, and try the change in Preview. If the change uses records or sign-in, test it with the thread’s own data in Data.

After you push a backend change, check the result in Backend.

To check a responses screen, fill in the form on its Typeform page, and then look for your answers in the app.

Call limit

Your app and the agent share a limit of 50 calls a minute to Typeform through your app’s connection. See Limits.

Push

After you test the feature, push the changes to your app.

Next steps

Troubleshooting

  • The dialog says the token must start with tfp_: copy the whole personal access token from Typeform, and then paste it again.
  • Typeform refuses a call for a missing scope: create a personal access token with the four scopes listed in Connect Typeform, and then replace the token.
  • For a token that’s refused or a connection that needs attention, see Troubleshoot connections.