{
  "workflow_name": "Post Mailparser parsed emails to a Slack channel",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Email Parsed (Per Email)",
          "app": {
            "key": "mailparser",
            "fm_app": "mailparser"
          },
          "eventSlug": "parsed_email_per_email",
          "eventTitle": "New Email Parsed (Per Email)",
          "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": "mailparser",
        "stepID": "1",
        "action": "parsed_email_per_email",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "id": "e7f3a9c2",
          "received_at": "2026-10-22 10:02:31",
          "processed_at": "2026-10-22 10:02:35",
          "sender": "orders@supplier.example.com",
          "subject": "Order confirmation A-5521",
          "order_number": "A-5521",
          "customer_name": "Noah Patel",
          "total": "342.50",
          "delivery_date": "2026-10-28"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "id": "e7f3a9c2",
              "received_at": "2026-10-22 10:02:31",
              "processed_at": "2026-10-22 10:02:35",
              "sender": "orders@supplier.example.com",
              "subject": "Order confirmation A-5521",
              "order_number": "A-5521",
              "customer_name": "Noah Patel",
              "total": "342.50",
              "delivery_date": "2026-10-28"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Post the parsed fields to Slack",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "slack",
            "fm_app": "slack"
          },
          "eventSlug": "send_message_to_channel",
          "eventTitle": "Send Channel Message"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "message_text": "New parsed email: {mailparser1.subject}\nOrder: {mailparser1.order_number}\nCustomer: {mailparser1.customer_name}\nTotal: {mailparser1.total}\nDelivery: {mailparser1.delivery_date}"
        },
        "application": "slack",
        "action": "send_message_to_channel",
        "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": "Post Mailparser parsed emails to a Slack channel",
    "folder": "all",
    "description": "When Mailparser parses a new email, the extracted fields are posted to a Slack channel as a short summary. Operations teams see supplier confirmations, orders or leads the moment they arrive without opening the inbox. After import, pick the Slack channel and swap the sample fields for the ones your parsing rules create.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}