{
  "workflow_name": "Add Gumroad buyers to ActiveCampaign and tag them by product",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Sale",
          "app": {
            "key": "gumroad",
            "fm_app": "gumroad"
          },
          "eventSlug": "new_sale",
          "eventTitle": "New Sale",
          "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": "gumroad",
        "stepID": "1",
        "action": "new_sale",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "sale_id": "FQ9aK2mT0bXc==",
          "sale_timestamp": "2026-10-21T16:45:12Z",
          "order_number": "524187093",
          "product_id": "pr_8XkQ2",
          "product_name": "Lightroom preset pack",
          "permalink": "presets",
          "email": "taylor.brooks@example.com",
          "full_name": "Taylor Brooks",
          "price": "2900",
          "currency": "usd",
          "quantity": "1",
          "can_contact": "true",
          "ip_country": "United States",
          "test": "false"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "sale_id": "FQ9aK2mT0bXc==",
              "sale_timestamp": "2026-10-21T16:45:12Z",
              "order_number": "524187093",
              "product_id": "pr_8XkQ2",
              "product_name": "Lightroom preset pack",
              "permalink": "presets",
              "email": "taylor.brooks@example.com",
              "full_name": "Taylor Brooks",
              "price": "2900",
              "currency": "usd",
              "quantity": "1",
              "can_contact": "true",
              "ip_country": "United States",
              "test": "false"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Filter Conditions",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "filter",
            "fm_app": "filter"
          },
          "eventSlug": "continue_if",
          "eventTitle": "Continue If Condition Meet",
          "customLabel": "Only buyers who opted in"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "key": "{gumroad1.can_contact}",
                "condition": "exactly_match",
                "value": "true"
              }
            ]
          }
        },
        "application": "filter",
        "action": "continue_if",
        "nodeType": "step",
        "stepID": "2",
        "filterConditions": {
          "filterConditions": {
            "1": [
              {
                "key": "{gumroad1.can_contact}",
                "condition": "exactly_match",
                "value": "true"
              }
            ]
          }
        }
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create or update ActiveCampaign contact",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "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": "{gumroad1.email}",
          "firstName": "{gumroad1.full_name}",
          "lastName": "",
          "phone": ""
        },
        "application": "activecampaign",
        "action": "create_or_update_contact",
        "nodeType": "step",
        "stepID": "3"
      },
      {
        "id": "4",
        "position": {
          "x": 525,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Tag buyer with product",
          "layoutDirection": "horizontal",
          "stepNumber": 4,
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "add_tag_to_contact",
          "eventTitle": "Add/Remove Tag From Contact"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "contact_id": "{activecampaign3.contact_id}",
          "tag_action": "add",
          "tag_id": ""
        },
        "application": "activecampaign",
        "action": "add_tag_to_contact",
        "nodeType": "step",
        "stepID": "4"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 700,
          "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-4",
        "source": "3",
        "target": "4",
        "type": "step",
        "data": []
      },
      {
        "id": "e-4-main_end_placeholder",
        "source": "4",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Add Gumroad buyers to ActiveCampaign and tag them by product",
    "folder": "all",
    "description": "After each Gumroad sale, FlowMattic adds the buyer to ActiveCampaign and tags them with what they bought, but only when they agreed to hear from you at checkout. Creators can send product-specific onboarding and upsell emails. After import, paste the webhook URL into Gumroad's Ping setting, connect ActiveCampaign and choose the tag.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}