{
  "workflow_name": "Forward incoming Twilio SMS messages to your Gmail inbox",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Incoming SMS",
          "app": {
            "key": "twilio",
            "fm_app": "twilio"
          },
          "eventSlug": "twilio_incoming_sms",
          "eventTitle": "Incoming SMS",
          "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": "twilio",
        "stepID": "1",
        "action": "twilio_incoming_sms",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "MessageSid": "SM5f0c7a1e2b3d4c5a6b7c8d9e0f1a2b3c",
          "From": "+15550142233",
          "To": "+15550199876",
          "Body": "Hi, is the 3pm slot still free on Friday?",
          "FromCity": "Austin",
          "FromState": "TX",
          "FromCountry": "US"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "MessageSid": "SM5f0c7a1e2b3d4c5a6b7c8d9e0f1a2b3c",
              "From": "+15550142233",
              "To": "+15550199876",
              "Body": "Hi, is the 3pm slot still free on Friday?",
              "FromCity": "Austin",
              "FromState": "TX",
              "FromCountry": "US"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Forward the SMS to Gmail",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "gmail",
            "fm_app": "gmail"
          },
          "eventSlug": "send_email",
          "eventTitle": "Send Email"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "email_to": "you@example.com",
          "subject": "New SMS from {twilio1.From}",
          "message": "From: {twilio1.From} ({twilio1.FromCity}, {twilio1.FromState})\nTo: {twilio1.To}\n\n{twilio1.Body}"
        },
        "application": "gmail",
        "action": "send_email",
        "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": "Forward incoming Twilio SMS messages to your Gmail inbox",
    "folder": "all",
    "description": "Every text message sent to your Twilio number is forwarded to your inbox from your Gmail account, with the sender's number and location in the subject and body. Small businesses can answer SMS enquiries without logging in to Twilio. After import, point your Twilio number's messaging webhook at the trigger URL and set the recipient address.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}