Smart form jotform formstack

From CraftOS-dev/craftbot-agent-bundles · View interactive version

Smart form jotform formstack is an AI agent skill from the GitHub repository CraftOS-dev/craftbot-agent-bundles. Deploy smart intake forms — Jotform (10K+ templates + native e-sign), Formstack (HIPAA-eligible), Typeform (conversational UX), Tally (free + Notion-style) — and wire submissions to doc generation + e-sign + CRM. Use when the user says "intake form", "smart form", "form to PDF", "Jotform / Formstack

How to use this skill

Skill file

Smart form deployment — Jotform / Formstack / Typeform / Tally

This skill ships the form-intake layer that feeds the document pipeline. The form collects structured data; downstream skills render the doc, route for approval, and e-sign.

When to use

User says:

Companion skills:

Setup

# Jotform REST API
# Required env: JOTFORM_API_KEY
# Base: https://api.jotform.com

# Formstack REST API
# Required env: FORMSTACK_API_KEY
# Base: https://www.formstack.com/api/v2

# Typeform — use the default `typeform` skill in agent
# Required env: TYPEFORM_PERSONAL_TOKEN
# Base: https://api.typeform.com

# Tally (free)
# Required env: TALLY_API_KEY (paid feature) — for free tier use webhooks only

pip install requests

Common recipes

Recipe 1: Pick the platform

| Platform | Best for | Pricing (approx 2026) | Strengths | Watch out |

|---|---|---|---|---|

| Jotform | Broad form templates + e-sign + PDF auto-fill | Free → $99/mo | 10K+ templates; PDF designer included | UX feels older |

| Formstack | Enterprise + HIPAA | $50+/mo per user | HIPAA workspace; Salesforce-native | Pricier; complex setup |

| Typeform | Conversational UX | Free → $99/mo | Best response rate UX | One question at a time can be slow |

| Tally | Free / SMB | Free → $29/mo | Notion-style; unlimited fields free | Less integrations |

| Google Forms | Internal / quick | Free | Free + GSuite integrated | No conditional logic; clunky for clients |

| Microsoft Forms | Internal Microsoft shops | Free w/ M365 | Native to M365 | Same limits as Google Forms |

Default for client-facing intake: Jotform. For HIPAA: Formstack. For conversion-optimized: Typeform. For free + design-first: Tally.

Recipe 2: Jotform — create a form via API

curl -X POST "https://api.jotform.com/form?apiKey=$JOTFORM_API_KEY" \
  -d "properties[title]=Client Onboarding" \
  -d "properties[height]=600" \
  -d "questions[1][type]=control_textbox" \
  -d "questions[1][text]=Company name" \
  -d "questions[1][required]=Yes" \
  -d "questions[1][order]=1" \
  -d "questions[2][type]=control_email" \
  -d "questions[2][text]=Email" \
  -d "questions[2][required]=Yes" \
  -d "questions[2][order]=2"

Most teams build the form in Jotform UI; use the API for read + conditional-logic mass updates.

Recipe 3: Jotform — fetch submissions

# List all submissions of a form
curl "https://api.jotform.com/form/$FORM_ID/submissions?apiKey=$JOTFORM_API_KEY&limit=100" | jq '.content'

# Get a single submission
curl "https://api.jotform.com/submission/$SUBMISSION_ID?apiKey=$JOTFORM_API_KEY"

Each submission has answers keyed by question ID — flatten for downstream use.

Recipe 4: Jotform — webhook on submission

# Add webhook to form
curl -X POST "https://api.jotform.com/form/$FORM_ID/webhooks?apiKey=$JOTFORM_API_KEY" \
  -d "webhookURL=https://your-app/webhooks/jotform"

Webhook payload includes formID, submissionID, rawRequest (JSON-encoded answers).

Recipe 5: Jotform — auto-fill PDF on submission

In Jotform → Form Builder → PDF Editor: attach a PDF template, drag form fields onto positions. On submission, Jotform renders the PDF + emails / stores.

This is the simplest form-to-doc path; for richer logic use conditional-logic-doc-assembly.

Recipe 6: Formstack — create form via API

curl -X POST https://www.formstack.com/api/v2/form.json \
  -H "Authorization: Bearer $FORMSTACK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Client Onboarding",
    "language": "en",
    "should_display_one_question_at_a_time": false,
    "fields": [
      {"field_type":"text","label":"Company name","required":true,"sort":1},
      {"field_type":"email","label":"Email","required":true,"sort":2}
    ]
  }'

Recipe 7: Formstack — submissions + webhook

# Submissions
curl https://www.formstack.com/api/v2/form/$FORM_ID/submission.json \
  -H "Authorization: Bearer $FORMSTACK_API_KEY"

# Webhook
curl -X POST https://www.formstack.com/api/v2/webhook.json \
  -H "Authorization: Bearer $FORMSTACK_API_KEY" \
  -d 'form_id=$FORM_ID&url=https://your-app/webhooks/formstack'

Recipe 8: Formstack HIPAA workspace

For HIPAA forms, set workspace to "HIPAA Workspace" in Formstack Admin → Workspace Settings; submissions encrypt at rest + transit; BAA executed by Formstack. Required for any form with PHI.

Recipe 9: Typeform — create form via API

curl -X POST https://api.typeform.com/forms \
  -H "Authorization: Bearer $TYPEFORM_PERSONAL_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Client Onboarding",
    "fields": [
      {"title":"What is your company name?","type":"short_text","ref":"company_name"},
      {"title":"What is your email?","type":"email","ref":"email"},
      {"title":"What entity type?","type":"multiple_choice","ref":"entity_type",
       "properties":{"choices":[{"label":"LLC"},{"label":"C-Corp"},{"label":"Other"}]}}
    ]
  }'

Recipe 10: Typeform — webhook on submission

curl -X PUT https://api.typeform.com/forms/$FORM_ID/webhooks/main \
  -H "Authorization: Bearer $TYPEFORM_PERSONAL_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "url":"https://your-app/webhooks/typeform",
    "enabled":true,
    "secret":"shared-secret-here"
  }'

Validate Typeform-Signature HMAC header on inbound.

Recipe 11: Tally — webhook

In Tally UI → Form → Settings → Integrations → Webhooks → add URL.

Tally payload includes data.fields[] array with label, value, type. Free tier supports up to 100 submissions/mo with webhooks.

Recipe 12: Conditional logic — show/hide fields in Jotform

In Jotform Form Builder → Settings → Conditions → Add Condition:

Conditions live in Jotform; reading via API returns evaluated visible answers only.

Recipe 13: Form → PandaDoc proposal chain

@app.post("/webhooks/jotform")
async def jotform_to_pandadoc(req: Request):
    submission = await req.json()
    answers = parse_jotform_answers(submission["rawRequest"])
    # Recipe from hubspot-doc-gen / proposal-automation-pandadoc-proposify-qwilr
    pdoc = create_pandadoc(
        template_uuid=TEMPLATE_FOR[answers["service_type"]],
        recipient_email=answers["email"],
        tokens=[
            {"name":"customer.name","value":answers["company"]},
            {"name":"customer.state","value":answers["state"]},
        ]
    )
    return {"ok": True, "doc_id": pdoc["id"]}

Recipe 14: Form → DocSpring custom PDF chain

# When form data needs a custom-rendered PDF (non-PandaDoc)
@app.post("/webhooks/typeform")
async def typeform_to_docspring(req: Request):
    body = await req.json()
    answers = {f["field"]["ref"]: f["answer"]["text"] for f in body["form_response"]["answers"]}
    requests.post(
        f"https://api.docspring.com/api/v1/templates/{TEMPLATE_ID}/submissions",
        auth=(DOCSPRING_TOKEN, ""),
        json={"data": answers}
    )

Recipe 15: Pre-fill via URL parameter

https://form.jotform.com/F0RM1D?company={{Account.Name}}&email={{Contact.Email}}

Jotform / Typeform / Formstack all support URL parameters; useful for chained flows (CRM record → form pre-filled).

Examples

Example 1: Onboarding intake → MSA + DocuSign

Goal: New customer fills onboarding form; MSA auto-generated + sent for signature.

Steps:

  1. Recipe 2 — Jotform onboarding form with conditional logic (Recipe 12).
  2. Recipe 4 — webhook to your handler.
  3. Recipe 13 — chain to PandaDoc OR contract-template-authoring-msa-nda + DocuSign.
  4. audit-trail-e-sign-versioning archives the executed envelope.

Result: End-to-end zero-touch onboarding in <5 min from form submit.

Example 2: HIPAA-compliant patient intake

Goal: Healthcare provider intakes patient PHI safely.

Steps:

  1. Recipe 8 — Formstack HIPAA workspace.
  2. Recipe 6 — fields for demographics + insurance.
  3. Recipe 7 — webhook to HIPAA-eligible backend.
  4. Auto-fill HHS BAA template + DocuSign for patient consent signature.

Result: HIPAA-compliant intake without sticky paper PHI.

Example 3: Conversational lead intake → Notion DB + Slack notify

Goal: SaaS lead form; conversational UX; new leads land in Notion + ping AE on Slack.

Steps:

  1. Recipe 9 — Typeform with 5-7 short questions.
  2. Recipe 10 — webhook.
  3. notion-mcp writes new row to Leads DB.
  4. slack-mcp posts in #leads channel: "New lead: <company> via Typeform".

Result: Higher conversion (Typeform conversational UX) + zero manual lead entry.

Edge cases / gotchas

Sources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.