{
  "workflow_name": "Create ActiveCampaign deals from Paperform quote requests",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Form Submission",
          "app": {
            "key": "paper_form",
            "fm_app": "paper_form"
          },
          "eventSlug": "new_submission",
          "eventTitle": "New Form Submission",
          "layoutDirection": "horizontal",
          "stepNumber": 1
        },
        "targetPosition": "bottom",
        "type": "trigger",
        "stepNumber": 1,
        "expanded": true,
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "application": "paper_form",
        "stepID": "1",
        "action": "new_submission",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "submission_id": "6718f0c2a9e4b",
          "form_name": "Website Quote Request",
          "name": "Ethan Brooks",
          "email": "ethan.brooks@example.com",
          "company": "Brooks Bakery",
          "budget": "4500",
          "project": "New ordering website with online payments"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "submission_id": "6718f0c2a9e4b",
              "form_name": "Website Quote Request",
              "name": "Ethan Brooks",
              "email": "ethan.brooks@example.com",
              "company": "Brooks Bakery",
              "budget": "4500",
              "project": "New ordering website with online payments"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create or update ActiveCampaign contact",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "create_or_update_contact",
          "eventTitle": "Create or Update Contact"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "email": "{paper_form1.email}",
          "firstName": "{paper_form1.name}",
          "lastName": ""
        },
        "application": "activecampaign",
        "action": "create_or_update_contact",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create ActiveCampaign deal",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "create_deal",
          "eventTitle": "Create Deal"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "title": "Quote: {paper_form1.company}",
          "value": "{paper_form1.budget}",
          "currency": "usd",
          "contact": "{activecampaign2.contact_id}",
          "description": "{paper_form1.project}"
        },
        "application": "activecampaign",
        "action": "create_deal",
        "nodeType": "step",
        "stepID": "3"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 525,
          "y": 0
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "main_end_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      }
    ],
    "edges": [
      {
        "id": "e-1-2",
        "source": "1",
        "target": "2",
        "type": "step",
        "data": []
      },
      {
        "id": "e-2-3",
        "source": "2",
        "target": "3",
        "type": "step",
        "data": []
      },
      {
        "id": "e-3-main_end_placeholder",
        "source": "3",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Create ActiveCampaign deals from Paperform quote requests",
    "folder": "all",
    "description": "When someone submits your Paperform quote form, FlowMattic creates or updates them as an ActiveCampaign contact and opens a deal with their budget and project details in your pipeline. Sales picks it up without retyping anything. After import, choose the pipeline, stage and owner in the deal step and remap the fields to your form's question keys.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}