{
  "workflow_name": "Save new OptinMonster leads to Google Sheets",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Lead",
          "app": {
            "key": "optin_monster",
            "fm_app": "optin_monster"
          },
          "eventSlug": "new.lead",
          "eventTitle": "New Lead",
          "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": "optin_monster",
        "stepID": "1",
        "action": "new.lead",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "lead_id": "23081",
          "lead_email": "chris.dalton@example.com",
          "lead_firstName": "Chris",
          "lead_lastName": "Dalton",
          "lead_phone": "",
          "lead_referrer": "https://example.com/blog/pricing-guide",
          "campaign_id": "ycz4lmnbe0",
          "campaign_title": "Pricing guide popup",
          "campaign_type": "popup"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "lead_id": "23081",
              "lead_email": "chris.dalton@example.com",
              "lead_firstName": "Chris",
              "lead_lastName": "Dalton",
              "lead_phone": "",
              "lead_referrer": "https://example.com/blog/pricing-guide",
              "campaign_id": "ycz4lmnbe0",
              "campaign_title": "Pricing guide popup",
              "campaign_type": "popup"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Add lead to Google Sheets",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "google_spreadsheets",
            "fm_app": "google_spreadsheets"
          },
          "eventSlug": "new_row",
          "eventTitle": "Add New Row"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "google_spreadsheets",
        "action": "new_row",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 350,
          "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-main_end_placeholder",
        "source": "2",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Save new OptinMonster leads to Google Sheets",
    "folder": "all",
    "description": "Every lead captured by an OptinMonster campaign is added as a new row in Google Sheets, with the campaign name and the page they signed up on. Marketers get one running list to share, filter and compare campaigns. After import, connect Google Sheets, pick the spreadsheet and map the columns.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}