View as Markdown
Formstack icon

Formstack ACTION

Create Form

Create a new form in your account. See docs here
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Formstack 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: "formstack-create-form",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    formstack: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    fields: "Fields",
  },
})

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
name Name string
The form name
Required
fields Fields string
Array of Field resources IDs. See fields docs here. E.g. [ { "field_type": "name", "label": "Name" } ]
Optional
language Language string
The language for the form - use ISO 639-1 language codes
Optional
submitButtonTitle Submit Button Title string
The submit button title
Optional
db Save in database boolean
Flag to disable or enable submissions to be saved in our database
Optional
password Password string
Sets a password for the form
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
formstack-create-form
Version
0.0.5
App
Formstack
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes