Graphrt

Typeform

Forms, responses with filters and token paging, insights and workspaces (US/EU data centers), form creation behind an opt-in, deletes node only, agent api_request limited to read paths

Beta v0.1.0 Node.js 11 actions
Use in Graphrt Desktop

About

A Graphrt plugin for the Typeform APIs: list and read forms, read responses with filters and paging, form insights and workspaces, create forms, and delete forms or responses from workflows. Works with US and EU data centers.

What it can do

  • get_me: the token's account
  • list_forms: search by title, filter by workspace, sort by created_at/last_updated_at, limit (up to 200) and page cursor
  • get_form: the full definition (fields with id and ref, logic, settings) and _links.responses
  • create_form: from a Create API form definition
  • delete_form: deletes a form and all its responses
  • list_responses: newest first, filter by since/until, after a response token, response ids, response_type (started, partial, completed), an exact-phrase search, fields and answered_fields. limit up to 1000, next_cursor is the last response's token and fetches the older ones (before). The last page is detected by an empty page, so a full final page costs one extra call. Typeform may hold back responses of the last ~30 minutes (use webhooks for real time).
  • delete_responses: up to 1000 response ids (queued deletion, unknown ids are ignored)
  • get_insights_summary: visits, responses, completion rate and average time, per form and question (depends on the plan)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Account typeform.get_me
  • List forms typeform.list_forms
  • Get form typeform.get_form
  • Create form typeform.create_form
  • Delete form typeform.delete_form
  • List responses typeform.list_responses
  • Delete responses typeform.delete_responses
  • Form insights typeform.get_insights_summary
  • List workspaces typeform.list_workspaces
  • Get workspace typeform.get_workspace
Show all 11 actions
  • Typeform API request typeform.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • TYPEFORM_TOKEN
    Personal access token (or an OAuth access token), sent as Authorization: Bearer
  • TYPEFORM_BASE_URL
    API host: https://api.typeform.com (default, US), https://api.eu.typeform.com (EU accounts) or https://api.typeform.eu (new EU data center), anything else is refused
  • TYPEFORM_TOOL_ALLOW_CREATE
    1 lets agent tools call create_form
  • TYPEFORM_TOOL_TOKEN_SOURCE

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Typeform.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install typeform
workflow.yaml
- id: fresh
  type: typeform.list_responses
  form_id: "{{#start.form_id#}}"
  since: "{{#start.since#}}"
  response_type: [completed]
  limit: 200
- id: cleanup
  type: typeform.delete_responses      # node only
  form_id: "{{#start.form_id#}}"
  included_response_ids: ["{{#fresh.data.0.response_id#}}"]
Plugins in the docs