{
  "workflow_name": "Add completed ArtiBot.ai leads to Google Sheets as new rows",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Lead Completed",
          "app": {
            "key": "artibot_ai",
            "fm_app": "artibot_ai"
          },
          "eventSlug": "completed",
          "eventTitle": "Lead Completed",
          "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": "artibot_ai",
        "stepID": "1",
        "action": "completed",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "lead_id": "ab_58213",
          "name": "Rosa Delgado",
          "email": "rosa.delgado@example.com",
          "phone": "+15550142233",
          "bot_name": "Website quote bot",
          "page_url": "https://example.com/pricing",
          "answers": "Budget: $5k-$10k; Timeline: next month",
          "completed_at": "2026-10-22 14:05:00"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "lead_id": "ab_58213",
              "name": "Rosa Delgado",
              "email": "rosa.delgado@example.com",
              "phone": "+15550142233",
              "bot_name": "Website quote bot",
              "page_url": "https://example.com/pricing",
              "answers": "Budget: $5k-$10k; Timeline: next month",
              "completed_at": "2026-10-22 14:05:00"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Add the lead as a new row",
          "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": "Add completed ArtiBot.ai leads to Google Sheets as new rows",
    "folder": "all",
    "description": "When a visitor finishes an ArtiBot.ai conversation, FlowMattic adds the lead as a new row in Google Sheets. Sales and marketing teams get one running list of every completed chat without exporting from ArtiBot.ai. After import, connect Google Sheets, pick your spreadsheet and map each column to the lead's name, email, phone and answers.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}