Programmatically Create a Form in your Typeform Workspace

December 8, 2021
Asarel Castellanos

Typeform is a service that allows you to build interactive and human centered online forms and surveys using a RESTful API. We've wrapped the POST /form endpoint from the Typeform API as an Action called CreateTypeformForm.

To get started, search "Typeform" in the Actions section of the Dashboard and select CreateTypeformForm.

The Action will appear with required In the left-hand columns, values can be added for the attributes. The text you add is treated as JavaScript, so you need to wrap your messages in quotes.

If you would like to add optional attributes, go ahead and click on + Add Transformation.

Now that we've got values for the fields we want, we need to use the Configure button on the action to add credentials:

When you click on it you should be able to see a short description on how to generate an access token to connect your Typeform Account with Trivial.

Once the access token has been entered and saved, click the Save & Rebuild button at the bottom of the Dashboard to push your changes. You'll get an Application Built! message when your changes are live.

If everything went correctly, a form will be generated every time the action is triggered. Read about how to trigger Trivial actions here.

You can head over to your Typeform account and within your workspace you will see the form.

Why Trivial?

Build processes & workflows your team will love, 10x faster than writing code by hand — without giving up privacy, security, or flexibility.

Try for Free

Faster

Jump into Trivial's no-code builder and deploy complex workflows in minutes.

Cheaper

Save countless thousands of dollars in custom development, while shipping faster than ever before.

All yours

With Trivial, you own your source code. Customize, access and export your code anytime, anywhere.