View as Markdown
Form.io icon

Form.io ACTION

Create Form

Create a form or resource in Form.io. Use List Forms to review existing forms. The components prop is a JSON-string array of Form.io component schema objects. See the documentation.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Form.io account once, then configure and run Create Form from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "form_io-create-form",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    form_io: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    name: "Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Form inputs
Property Type Description
title Title string
The human-readable title of the form (e.g. Contact Form).
Required
name Name string
The machine name of the form (e.g. contactform).
Required
path Path string
The URL path for the form (e.g. contactform).
Required
type Type string
The form type. One of form or resource.
Optional
components Components string
JSON-string array of Form.io component schema objects. Example: [{"type":"textfield","key":"name","label":"Name","input":true}]. Parsed with JSON.parse() before sending.
Required
display Display string
How the form is displayed (e.g. form, wizard, pdf).
Optional
tags Tags string[]
Tags to associate with the form.
Optional
settings Settings string
JSON-string object of form settings. Example: {"theme":"default"}.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
form_io-create-form
Version
0.0.1
App
Form.io
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes