{
    "workflow_name": "Add new Facebook lead to FluentCRM business list if email domain is company else add to general nurturing list",
    "workflow_steps": {
        "steps": [
            {
                "id": "1",
                "position": {
                    "x": 0,
                    "y": 0
                },
                "data": {
                    "label": "New Lead",
                    "app": {
                        "key": "facebook_lead_ads",
                        "fm_app": "facebook_lead_ads"
                    },
                    "eventSlug": "new_lead",
                    "eventTitle": "New Lead",
                    "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": "facebook_lead_ads",
                "stepID": "1",
                "action": "new_lead",
                "nodeType": "step",
                "actionAppArgs": []
            },
            {
                "id": "2",
                "position": {
                    "x": 175,
                    "y": 0
                },
                "type": "action",
                "data": {
                    "label": "Branch by FlowMattic",
                    "app": {
                        "key": "branch",
                        "fm_app": "branch"
                    },
                    "eventSlug": "evaluate_condition",
                    "eventTitle": "Branch",
                    "customLabel": "Business email domain?",
                    "layoutDirection": "horizontal",
                    "stepNumber": 2
                },
                "parentType": "step",
                "style": {
                    "transition": "all 150ms ease-in-out"
                },
                "measured": {
                    "width": 82,
                    "height": 82
                },
                "actionAppArgs": {
                    "filterConditions": {
                        "1": [
                            {
                                "id": "c1",
                                "key": "{facebook_lead_ads1.email}",
                                "condition": "does_not_contain_text",
                                "value": "gmail.com"
                            }
                        ]
                    }
                },
                "filterConditions": {
                    "1": [
                        {
                            "id": "c1",
                            "key": "{facebook_lead_ads1.email}",
                            "condition": "does_not_contain_text",
                            "value": "gmail.com"
                        }
                    ]
                },
                "application": "branch",
                "stepID": "2",
                "action": "evaluate_condition",
                "nodeType": "branch"
            },
            {
                "id": "2-branchRoute_yes",
                "position": {
                    "x": 395,
                    "y": -160
                },
                "type": "action",
                "data": {
                    "label": "Yes",
                    "branchType": "yes",
                    "layoutDirection": "horizontal",
                    "stepNumber": null,
                    "app": []
                },
                "branchRoute": true,
                "branchType": "yes",
                "stepID": "2-branchRoute_yes",
                "nodeType": "branchRoute",
                "actionAppArgs": []
            },
            {
                "id": "3",
                "position": {
                    "x": 595,
                    "y": -160
                },
                "type": "action",
                "data": {
                    "label": "Add to Business List",
                    "layoutDirection": "horizontal",
                    "stepNumber": 3,
                    "app": {
                        "key": "fluentcrm",
                        "fm_app": "fluentcrm"
                    },
                    "eventSlug": "add_contact_to_list",
                    "eventTitle": "Add Lists to Contact"
                },
                "parentType": "step",
                "style": {
                    "transition": "all 150ms ease-in-out"
                },
                "measured": {
                    "width": 82,
                    "height": 82
                },
                "actionAppArgs": [],
                "application": "fluentcrm",
                "action": "add_contact_to_list",
                "nodeType": "step",
                "stepID": "3"
            },
            {
                "id": "2_yes_placeholder",
                "position": {
                    "x": 770,
                    "y": -160
                },
                "type": "placeholder",
                "data": {
                    "label": "+",
                    "layoutDirection": "horizontal",
                    "stepNumber": null,
                    "app": []
                },
                "measured": {
                    "width": 40,
                    "height": 82
                },
                "stepID": "2_yes_placeholder",
                "nodeType": "placeholder",
                "actionAppArgs": []
            },
            {
                "id": "2-branchRoute_no",
                "position": {
                    "x": 395,
                    "y": 160
                },
                "type": "action",
                "data": {
                    "label": "No",
                    "branchType": "no",
                    "layoutDirection": "horizontal",
                    "stepNumber": null,
                    "app": []
                },
                "branchRoute": true,
                "branchType": "no",
                "stepID": "2-branchRoute_no",
                "nodeType": "branchRoute",
                "actionAppArgs": []
            },
            {
                "id": "4",
                "position": {
                    "x": 595,
                    "y": 160
                },
                "type": "action",
                "data": {
                    "label": "Add to Nurturing List",
                    "layoutDirection": "horizontal",
                    "stepNumber": 4,
                    "app": {
                        "key": "fluentcrm",
                        "fm_app": "fluentcrm"
                    },
                    "eventSlug": "add_contact_to_list",
                    "eventTitle": "Add Lists to Contact"
                },
                "parentType": "step",
                "style": {
                    "transition": "all 150ms ease-in-out"
                },
                "measured": {
                    "width": 82,
                    "height": 82
                },
                "actionAppArgs": [],
                "application": "fluentcrm",
                "action": "add_contact_to_list",
                "nodeType": "step",
                "stepID": "4"
            },
            {
                "id": "2_no_placeholder",
                "position": {
                    "x": 770,
                    "y": 160
                },
                "type": "placeholder",
                "data": {
                    "label": "+",
                    "layoutDirection": "horizontal",
                    "stepNumber": null,
                    "app": []
                },
                "measured": {
                    "width": 40,
                    "height": 82
                },
                "stepID": "2_no_placeholder",
                "nodeType": "placeholder",
                "actionAppArgs": []
            }
        ],
        "edges": [
            {
                "id": "e-1-2",
                "source": "1",
                "target": "2",
                "type": "step",
                "data": []
            },
            {
                "id": "e-2-2-branchRoute_yes",
                "source": "2",
                "target": "2-branchRoute_yes",
                "type": "branch",
                "data": []
            },
            {
                "id": "e-2-branchRoute_yes-3",
                "source": "2-branchRoute_yes",
                "target": "3",
                "type": "step",
                "data": []
            },
            {
                "id": "e-3-2_yes_placeholder",
                "source": "3",
                "target": "2_yes_placeholder",
                "type": "placeholder",
                "data": []
            },
            {
                "id": "e-2-2-branchRoute_no",
                "source": "2",
                "target": "2-branchRoute_no",
                "type": "branch",
                "data": []
            },
            {
                "id": "e-2-branchRoute_no-4",
                "source": "2-branchRoute_no",
                "target": "4",
                "type": "step",
                "data": []
            },
            {
                "id": "e-4-2_no_placeholder",
                "source": "4",
                "target": "2_no_placeholder",
                "type": "placeholder",
                "data": []
            }
        ]
    },
    "workflow_settings": {
        "name": "Add new Facebook lead to FluentCRM business list if email domain is company else add to general nurturing list",
        "folder": "all",
        "description": "Sort every new Facebook lead by email domain, adding company addresses to your FluentCRM business list and everyone else to general nurturing so each contact gets the right follow-up.",
        "status": "off",
        "user_email": "",
        "webhook_queue": "disabled",
        "workflow_auth_key": "",
        "builder_version": "v2",
        "time": "",
        "ai_generated": "yes"
    }
}