{
  "workflow_name": "When a contact is added to your chosen tag in FluentCRM, enroll them in BrainCert",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Contact Added to Tags",
          "app": {
            "key": "fluentcrm",
            "fm_app": "fluentcrm"
          },
          "eventSlug": "fluentcrm_contact_added_to_tags",
          "eventTitle": "Contact Added to Tags",
          "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": "fluentcrm",
        "stepID": "1",
        "action": "fluentcrm_contact_added_to_tags",
        "nodeType": "step",
        "actionAppArgs": []
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create BrainCert user",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "braincert",
            "fm_app": "braincert"
          },
          "eventSlug": "create_user",
          "eventTitle": "Create User"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "username": "{fluentcrm1.email}",
          "email": "{fluentcrm1.email}"
        },
        "application": "braincert",
        "action": "create_user",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Enroll in course",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "braincert",
            "fm_app": "braincert"
          },
          "eventSlug": "enroll_in_course",
          "eventTitle": "Enroll in Course"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "email": "{fluentcrm1.email}"
        },
        "application": "braincert",
        "action": "enroll_in_course",
        "nodeType": "step",
        "stepID": "3"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 525,
          "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-main_end_placeholder",
        "source": "3",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "When a contact is added to your chosen tag in FluentCRM, enroll them in BrainCert",
    "folder": "all",
    "description": "Choose your enrolment tag (for example Enrolled) in the trigger's tag setting after import. When a FluentCRM contact is added to that tag, FlowMattic creates them as a BrainCert user and enrolls them in the course you pick. Without a tag chosen, any tag added will run it.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}