Typeform
Record Typeform responses as activity. Read only the selected answer that identifies each respondent.
Connect Typeform
Typeform uses a reviewed Activepieces piece inside Datum. Each connection reads one form through your Typeform developer app. Datum records respondents and submission times. It reads only the answer you select for identification.
Register a Typeform app
- Open Typeform.
- Open your organization menu.
- Choose Developer apps.
- Register an app.
- Record its client ID and its secret.
Datum asks only for
forms:read,responses:read,webhooks:writeandoffline.Choose how to identify respondents
If necessary, choose one of these identification fields:
- A hidden field. Your site puts your member ID in this field when it links to the form.
- An email question. Its Question reference in the Typeform settings identifies it.
Without one of these fields, each response creates a separate anonymous respondent. You can merge these respondents manually.
Open Sources
- Open Sources → Connect a source → Typeform.
- Register the App redirect URL from this form in your Typeform app.
- Enter the OAuth client ID.
- Enter the OAuth client secret.
- Choose Forms to import.
The redirect URI is your Datum address followed by
/connect/piece%3Atypeform/callback. Datum makes the webhook URL secret and the signing secret automatically.Forms to import has two options. One form is the default. All accessible forms also gets forms that the account can see later. You cannot change this option after you create the source. You choose the form in the next step.
Authorize and choose a form
- Press Connect.
- Approve the app in Typeform.
- Return to Datum.
- For one form, choose the Form.
- If you use an email question, select the Email question. This list shows only email questions.
- For a hidden member ID, open Advanced settings and enter the Hidden member ID field.
- Press Verify to check access.
For all forms, you choose the identity fields for each form later, in the source’s Settings. Advanced settings also lets you enter form IDs and question references manually.
The worker registers a signed webhook for the selected form. Verification does not import responses.
Import history
Press Run now on the source page. You can also run this command from your terminal or agent:
ocmgr ingest <connectionId>Datum reads completed responses, starting with the newest.
Check the result
- Read the Verify result.
- Submit a test response.
- Find a
form_submittedrecord with the title of the form in Activity. - Check the delivery with
ocmgr inbound list --connection <connectionId>.
Verification reads the form, but it does not import records.
An older connection can be without webhook secrets. For such a connection, open Settings → Webhook → Webhook URL and press Prepare webhook. Datum adds only the missing webhook secrets to the vault. It keeps the existing authorization and the secrets that you configured. The worker registers the subscription on its next poll.
Data Datum imports
| Respondent | Your member ID from the hidden field you named, or the email address from the question you named, or neither |
| Activity | One form submission per response, at its submission time, with the form’s title |
| Not collected | Every other answer and hidden field, the questions, scores, and response details such as browser and referrer |
Datum treats email answers as unverified, because form fields do not prove that a person owns an address. Respondents cannot link automatically to other accounts. Possible matches go to your review queue.
Import all accessible forms
- Select All accessible forms in Forms to import when you create a source. You cannot change this mode later.
- Authorize the account with the same read and webhook permissions.
- Open Settings to choose an email question or a hidden member ID for each form. Forms without one stay anonymous.
- Press Run now to import the history of all forms that the account can open now.
New forms appear during later discovery cycles. Typeform has no webhook for a full account, so each form needs its own signed webhook. New subscriptions collect future responses. When Datum finds a new form, it does not import its history automatically.
Accounts and activity belong to their form. Thus, a response token or a hidden ID that occurs in two forms cannot mix people across forms.
Discovery checks at most 1,000 forms across five pages. Each new subscription uses two worker runs. The first run records the intent, and the second run creates the webhook. The default scheduler moves this work forward one time each minute. Thus, a large first import can need hours before all live subscriptions are ready.
A new discovery cycle can start 15 minutes after the last cycle finishes. An incomplete discovery never removes subscriptions. Datum stops processing a form after two complete cycles do not find it and a check of form access fails. Datum can then lose the permission to remove the old webhook of that form, so the webhook can stay in Typeform.
At the limit of 1,000 forms, a replacement form must wait. Datum creates its subscription after it confirms the removal of the old form.
To change modes, create a different source. To stop the overlap, turn off sources that read the same forms. When you turn off a source, Datum keeps its history. Thus, a new source that imports the same responses can duplicate historical activity.
Change the selected form
- Open the source’s Settings tab.
- Under Form and respondent, choose a form.
- Choose the email question for the new form.
- Press Save and verify.
When you change the form, Datum clears the earlier email question and hidden member ID. Choose the fields for the new form before you save.
In Advanced identity settings, you can edit or clear the hidden member ID field. The existing activity stays in Datum. To import the history of the selected form, press Run now. The worker replaces the live subscription when it next checks the connection.
Optional Event Gateway
When the instance has Event Gateway, open Settings → Webhook → Webhook URL and press Prepare webhook. Enabled subscriptions change to the prepared URL on the next sync, usually within 15 minutes. Datum verifies the provider signatures after the gateway delivers. Without Event Gateway, subscriptions use the direct receiver.
Discovery in all-forms mode updates existing subscriptions. It uses the gateway URL for new forms.
Troubleshooting
Responses aren’t arriving
Check authentication, historical import and live delivery separately on the source page. New connections make both necessary secrets automatically. For an older connection without the secrets, press Prepare webhook and do the action that it reports. After the setup succeeds, submit a new response. Then check the intake log.
Responses stopped after I changed the secret
When you change a secret, the URL and the key of the subscription change. Datum refuses retries to the old subscription, and Typeform does not always send those deliveries again. After you change the secrets, run ocmgr ingest <connectionId>. This command imports those responses from history.
Typeform rejected the access token
- Choose Reconnect in the source’s setup progress.
- Authorize the existing app again.
- Choose Verify now.
- After verification passes, choose Run now to get missed responses.
If you entered a token manually, choose Replace token instead. This opens the settings. A reconnection keeps the imported history.
A form that Datum cannot open is a different problem. Check that the connected Typeform account can still open that form. A permission failure on one form does not mean that you must reconnect the full account.
EU Typeform accounts
Datum does not support Typeform accounts in its EU data centre.
From your terminal or agent
ocmgr connection create --kind piece:typeform --config '{"form_id":"<form-id>","identity_field":"member_id"}' \
--secret clientId=<client-id> --secret clientSecret=<client-secret> --json
ocmgr connection connect <connectionId> --json
ocmgr connection verify <connectionId> --json{ "name": "create_connection", "arguments": { "kind": "piece:typeform", "config": { "form_id": "<form-id>", "identity_field": "member_id" }, "credentials": { "clientId": "<client-id>", "clientSecret": "<client-secret>" } } }
{ "name": "connect_connection", "arguments": { "id": "<connectionId>" } }curl -X POST "$OCMGR_URL/v1/connections/<connectionId>/connect" \
-H "Authorization: Bearer $OCMGR_API_KEY" -H 'content-type: application/json' -d '{}'See create_connection and connect_connection for every parameter.
FAQ
Has anyone tested this with a real Typeform account?
Live testing has covered identified and anonymous submissions, signed delivery, historical import and replay without duplicate activity. Submit a test response after connecting your own form to check its configuration.
Can one connection read several forms?
Yes. Choose All accessible forms when creating the source. Existing sources retain their single-form behavior unless replaced with a new source.
Why does Datum make the webhook subscription itself?
The piece’s trigger creates subscriptions without a secret. Anyone with that URL could submit false responses. Datum supplies your signing key and rejects invalid signatures.