← Back to Blog

Refactor old logic app

Refactor old logic app it was sending replies >>> now the email sending is semi fixed it can at least work and we can relearn email has the adding parts with it remove goal turn it on and move the fixes to the new resource group!

Refactor old logic app

it was sending replies >>> now the email sending is semi fixed it can at least work and we can relearn

email has the adding parts with it

refactor old logic 1

remove

refactor old logic 2

refactor old logic 3

goal turn it on and move the fixes to the new resource group!

back it up as state machine

refactor old logic 4

refactor old logic 5

refactor old logic 6

refactor old logic 7

refactor old logic 8

refactor old logic 9

run the application in a practical manner and see and reflect to the other side.

Creating an real time ivr system for one contractor is the key while upgrade the package and work on it.

enterprises dont care about studio but they care about the training.

give a custom training for on demand delivery

Backup by Code

{
                    "definition": {
                        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
                        "actions": {
                            "Check_devops": {
                                "actions": {
                                    "Set_variable": {
                                        "inputs": {
                                            "name": "devopsrole",
                                            "value": true
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": [
                                        {
                                            "contains": [
                                                "@triggerBody()?['Body']",
                                                "devops"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "check_recruiter": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Check_uk_": {
                                "actions": {
                                    "Set_variable_2": {
                                        "inputs": {
                                            "name": "ukrole",
                                            "value": true
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": [
                                        {
                                            "contains": [
                                                "@triggerBody()?['Body']",
                                                "UK"
                                            ]
                                        },
                                        {
                                            "or": [
                                                {
                                                    "contains": [
                                                        "@triggerBody()",
                                                        "permanent"
                                                    ]
                                                },
                                                {
                                                    "contains": [
                                                        "@triggerBody()",
                                                        "contract"
                                                    ]
                                                },
                                                {
                                                    "contains": [
                                                        "@triggerBody()",
                                                        "ir35"
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Check_devops": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Condition_blacklisted_check": {
                                "actions": {
                                    "Terminate": {
                                        "inputs": {
                                            "runError": {
                                                "code": "2222",
                                                "message": "found  @{item('Foreachblacklisted_keywords')}"
                                            },
                                            "runStatus": "Failed"
                                        },
                                        "runAfter": {},
                                        "type": "Terminate"
                                    }
                                },
                                "expression": {
                                    "and": [
                                        {
                                            "greater": [
                                                "@variables('blacklistedwordscount')",
                                                0
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Foreachblacklisted_keywords": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Condition_check_usa_role": {
                                "actions": {
                                    "Set_variable_to_usa": {
                                        "inputs": {
                                            "name": "cvlink",
                                            "value": "@{variables('cvusa')}"
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": [
                                        {
                                            "equals": [
                                                "@variables('usarole')",
                                                true
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_cvlink": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Condition_global": {
                                "actions": {
                                    "Set_variable_to_global": {
                                        "inputs": {
                                            "name": "cvlink",
                                            "value": "@{variables('cvglobal')}"
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": [
                                        {
                                            "equals": [
                                                "@variables('ukrole')",
                                                false
                                            ]
                                        },
                                        {
                                            "equals": [
                                                "@variables('usarole')",
                                                false
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Condition_check_usa_role": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Condition_isitaskingaresume": {
                                "actions": {
                                    "Set_variable_isitaskingaresume": {
                                        "inputs": {
                                            "name": "isitaskingaresume",
                                            "value": true
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": [
                                        {
                                            "contains": [
                                                "@triggerBody()",
                                                "resume"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Condition_solution_architect": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Condition_solution_architect": {
                                "actions": {
                                    "Set_variable_solution_architect": {
                                        "inputs": {
                                            "name": "issolutionarchitectrole",
                                            "value": true
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "or": [
                                        {
                                            "contains": [
                                                "@triggerBody()",
                                                "solution architect"
                                            ]
                                        },
                                        {
                                            "contains": [
                                                "@triggerBody()",
                                                "Solution Architect"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "For_each_skills_match_one_is_enough": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Condition_till_fixed_opening_up_emails_could_be_v2_isold_template": {
                                "actions": {
                                    "Get_blob_content_(V2)_attachmentspexabo_cvanswermatrix": {
                                        "inputs": {
                                            "host": {
                                                "connection": {
                                                    "name": "@parameters('$connections')['azureblob-6']['connectionId']"
                                                }
                                            },
                                            "method": "get",
                                            "path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('attachmentspexabo'))}/files/@{encodeURIComponent(encodeURIComponent('JTJmZW1haWxzJTJmUmlmYXQrRXJkZW0rU2FoaW4rQ1YrQW5zd2VyK01hdHJpeC5jc3Y='))}/content",
                                            "queries": {
                                                "inferContentType": true
                                            }
                                        },
                                        "metadata": {
                                            "JTJmZW1haWxzJTJmUmlmYXQrRXJkZW0rU2FoaW4rQ1YrQW5zd2VyK01hdHJpeC5jc3Y=": "/emails/Rifat Erdem Sahin CV Answer Matrix.csv"
                                        },
                                        "runAfter": {
                                            "Get_blob_content_(V2)_attachmentspexabo_video": [
                                                "Succeeded"
                                            ]
                                        },
                                        "type": "ApiConnection"
                                    },
                                    "Get_blob_content_(V2)_attachmentspexabo_handsonskillmatrix": {
                                        "inputs": {
                                            "host": {
                                                "connection": {
                                                    "name": "@parameters('$connections')['azureblob-6']['connectionId']"
                                                }
                                            },
                                            "method": "get",
                                            "path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent('JTJmZW1haWxzJTJmUmlmYXQrRXJkZW0rU2FoaW4rSGFuZHMtb24rU2tpbGwrTWF0cml4LmNzdg=='))}/content",
                                            "queries": {
                                                "inferContentType": true
                                            }
                                        },
                                        "metadata": {
                                            "JTJmZW1haWxzJTJmUmlmYXQrRXJkZW0rU2FoaW4rSGFuZHMtb24rU2tpbGwrTWF0cml4LmNzdg==": "/emails/Rifat Erdem Sahin Hands-on Skill Matrix.csv"
                                        },
                                        "runAfter": {
                                            "Get_blob_content_(V2)_attachmentspexabo_cvanswermatrix": [
                                                "Succeeded"
                                            ]
                                        },
                                        "type": "ApiConnection"
                                    },
                                    "Get_blob_content_(V2)_attachmentspexabo_references": {
                                        "inputs": {
                                            "host": {
                                                "connection": {
                                                    "name": "@parameters('$connections')['azureblob-2']['connectionId']"
                                                }
                                            },
                                            "method": "get",
                                            "path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent('JTJmZW1haWxzJTJmUmVmZXJlbmNlcytXb3JrK1JpZmF0K0VyZGVtK1NhaGluLnBkZg=='))}/content",
                                            "queries": {
                                                "inferContentType": true
                                            }
                                        },
                                        "metadata": {
                                            "JTJmZW1haWxzJTJmUmVmZXJlbmNlcytXb3JrK1JpZmF0K0VyZGVtK1NhaGluLnBkZg==": "/emails/References Work Rifat Erdem Sahin.pdf"
                                        },
                                        "runAfter": {},
                                        "type": "ApiConnection"
                                    },
                                    "Get_blob_content_(V2)_attachmentspexabo_video": {
                                        "inputs": {
                                            "host": {
                                                "connection": {
                                                    "name": "@parameters('$connections')['azureblob-6']['connectionId']"
                                                }
                                            },
                                            "method": "get",
                                            "path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent('JTJmZW1haWxzJTJmRXJkZW12aWRlbzIwMjMubXA0'))}/content",
                                            "queries": {
                                                "inferContentType": true
                                            }
                                        },
                                        "metadata": {
                                            "JTJmZW1haWxzJTJmRXJkZW12aWRlbzIwMjMubXA0": "/emails/Erdemvideo2023.mp4"
                                        },
                                        "runAfter": {
                                            "Get_blob_content_(V2)_attachmentspexabo_references": [
                                                "Succeeded"
                                            ]
                                        },
                                        "type": "ApiConnection"
                                    }
                                },
                                "expression": {
                                    "and": [
                                        {
                                            "equals": [
                                                1,
                                                0
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_debug_to_sender": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "Content_Initialize_variable_keywords_blacklist": {
                                "inputs": {
                                    "variables": [
                                        {
                                            "name": "blacklistedkeywords",
                                            "type": "array",
                                            "value": [
                                                "The recipient's mailbox is full",
                                                "Your message couldn't be delivered",
                                                "postmaster wasn't found at",
                                                "Message not delivered",
                                                "Remote server returned",
                                                "Delivery incomplete",
                                                " GB-0011100860",
                                                "The response from the remote server was",
                                                "There was a temporary problem while delivering your message to",
                                                "Code Ninjas",
                                                "Your message couldn't be delivered to",
                                                "Message too large",
                                                "Undeliverable: Thanks for your email",
                                                "",
                                                "Nathan Hesketh",
                                                "ACL Digital",
                                                "because the address couldn't be found",
                                                "Undeliverable: Thanks for your email",
                                                "I have attached several documents for your reference.",
                                                "external senders aren't permitted to send to this group",
                                                "IP address has been temporarily rate limited",
                                                "Recipient address rejected",
                                                "[email protected]",
                                                "fundingcircle",
                                                "couldn't be delivered.",
                                                "here's your billing summary",
                                                "pluralsight",
                                                "RADTAC",
                                                "cprime",
                                                "devopsengineering.thinkific.com",
                                                "Tax Assist",
                                                "Undeliverable",
                                                "CV in text Format",
                                                "Your message to the Microsoft 365 group",
                                                "Recipient address rejected: Access denied."
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_todos": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Delay_3": {
                                "inputs": {
                                    "interval": {
                                        "count": 3,
                                        "unit": "Minute"
                                    }
                                },
                                "runAfter": {
                                    "Reply_to_email_(V2)_new_template_simple_add": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "Wait"
                            },
                            "Delay_30": {
                                "inputs": {
                                    "interval": {
                                        "count": 30,
                                        "unit": "Minute"
                                    }
                                },
                                "runAfter": {
                                    "skillsmatrixerdem": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "Wait"
                            },
                            "Emails_Initialize_DontSendlistRecruitersContractsVendors_blacklist": {
                                "inputs": {
                                    "variables": [
                                        {
                                            "name": "emailsnottosend use hotmail to test",
                                            "type": "array",
                                            "value": [
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "omantel.om",
                                                "marshall.co.uk",
                                                "[email protected]",
                                                "ivisa",
                                                "mercury.com",
                                                "incfile.com",
                                                "[email protected]",
                                                "cprime.com",
                                                "oxfordcorp.com",
                                                "[email protected]",
                                                "[email protected]",
                                                "acldigital.com",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "meetup.com",
                                                "[email protected]",
                                                "ivisa-travel.intercom-mail.com",
                                                "do-not-reply@",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "postmaster",
                                                "[email protected]",
                                                "[email protected]",
                                                "care.com",
                                                "1800accountant.com",
                                                "[email protected]",
                                                "[email protected]",
                                                "taxassist.co.uk",
                                                "[email protected]",
                                                "pluralsight.com",
                                                "[email protected]",
                                                "docusign.net",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "storebox.co.uk",
                                                "elgato",
                                                "no-reply",
                                                "[email protected]",
                                                "evmux",
                                                "donotreply",
                                                "do-not-reply",
                                                "[email protected]",
                                                "[email protected]",
                                                "[email protected]",
                                                "ypsomed.com",
                                                "[email protected]",
                                                "noreply@",
                                                "apps.jobserve.com",
                                                "[email protected]",
                                                "contractspy.co.uk",
                                                "[email protected]",
                                                "Nathan Hesketh",
                                                "cprime",
                                                "[email protected]"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Content_Initialize_variable_keywords_blacklist": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "For_each_check_and_stop": {
                                "actions": {
                                    "Condition_check_email": {
                                        "actions": {
                                            "Set_variable_dontsend": {
                                                "inputs": {
                                                    "name": "dontsend",
                                                    "value": true
                                                },
                                                "runAfter": {},
                                                "type": "SetVariable"
                                            }
                                        },
                                        "expression": {
                                            "and": [
                                                {
                                                    "contains": [
                                                        "@triggerBody()?['From']",
                                                        "@items('For_each_check_and_stop')"
                                                    ]
                                                }
                                            ]
                                        },
                                        "runAfter": {},
                                        "type": "If"
                                    }
                                },
                                "foreach": "@variables('emailsnottosend use hotmail to test')",
                                "runAfter": {
                                    "Initialize_variable_dont_send": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "Foreach"
                            },
                            "For_each_skills_match_one_is_enough": {
                                "actions": {
                                    "Condition_check_for_it": {
                                        "actions": {
                                            "Increment_variable_skills": {
                                                "inputs": {
                                                    "name": "matchskillcount",
                                                    "value": 1
                                                },
                                                "runAfter": {
                                                    "Set_variable_skills_match": [
                                                        "Succeeded"
                                                    ]
                                                },
                                                "type": "IncrementVariable"
                                            },
                                            "Set_variable_skills_match": {
                                                "inputs": {
                                                    "name": "istherearematchingskill",
                                                    "value": true
                                                },
                                                "runAfter": {},
                                                "type": "SetVariable"
                                            }
                                        },
                                        "else": {
                                            "actions": {
                                                "Set_variable_debugger_check": {
                                                    "inputs": {
                                                        "name": "debugstringonwhatwecanfindintinemail",
                                                        "value": "@{body('Html_to_text_for_the_emailbody')}\n---------------- contains ------------------------\n@{item()}"
                                                    },
                                                    "runAfter": {},
                                                    "type": "SetVariable"
                                                }
                                            }
                                        },
                                        "expression": {
                                            "and": [
                                                {
                                                    "contains": [
                                                        "@body('Html_to_text_for_the_emailbody')",
                                                        "@item()"
                                                    ]
                                                }
                                            ]
                                        },
                                        "runAfter": {},
                                        "type": "If"
                                    }
                                },
                                "foreach": "@variables('matchingskills')",
                                "runAfter": {
                                    "Initialize_variable_debug_string_email_seek_for_skill": [
                                        "Succeeded"
                                    ]
                                },
                                "trackedProperties": {},
                                "type": "Foreach"
                            },
                            "Foreachblacklisted_keywords": {
                                "actions": {
                                    "Condition_check_blacklisted": {
                                        "actions": {
                                            "Increment_variable": {
                                                "inputs": {
                                                    "name": "blacklistedwordscount",
                                                    "value": 1
                                                },
                                                "runAfter": {},
                                                "type": "IncrementVariable"
                                            }
                                        },
                                        "expression": {
                                            "and": [
                                                {
                                                    "contains": [
                                                        "@triggerBody()",
                                                        "@item()"
                                                    ]
                                                }
                                            ]
                                        },
                                        "runAfter": {},
                                        "type": "If"
                                    }
                                },
                                "foreach": "@variables('blacklistedkeywords')",
                                "runAfter": {
                                    "Initialize_variable_blacklisted": [
                                        "Succeeded"
                                    ]
                                },
                                "type": "Foreach"
                            },
                            "Html_to_text_for_the_emailbody": {
                                "inputs": {
                                    "body": "<p>@{triggerBody()?&#091;'Body']}</p>",
                                    "host": {
                                        "connection": {
                                            "name": "@parameters('$connections')&#091;'conversionservice']&#091;'connectionId']"
                                        }
                                    },
                                    "method": "post",
                                    "path": "/html2text"
                                },
                                "runAfter": {
                                    "Initialize_variable_plaintextemailreceived": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "ApiConnection"
                            },
                            "Initialize_variable_EmailSendingBody_Html_Format_it": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "EmailSendingBody",
                                            "type": "string",
                                            "value": "<p>@{variables('mysendingemailbody')}</p>\n\n<p>\n<b>\nCV in text Format</b>\n@{variables('maincvtxt')}\n</p>\n\n<p><i>\nTo download the CV, Skill Matrix, References, Photo, Introduction Video, and FAQ please use the link</i>\n@{variables('cvlink')}\n</p>\n<p><i>\nVideo for the most asked questions;</i>\nhttps://www.loom.com/share/3a0f58ccc99049d3b1519eb4598cd05d?sid=f370c96a-448e-4111-89e2-38a64bbbe2f4\n</p>\n\n<p><b>\nTo schedule a call to discuss my application further https://calendly.com/rifaterdem/schedule\n</b>\n</p>"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_email_text_mysendingemailbody": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_attachments": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "myattachments",
                                            "type": "array"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "check_c2c": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_blacklisted": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "blacklistedwordscount",
                                            "type": "integer"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Emails_Initialize_DontSendlistRecruitersContractsVendors_blacklist": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_cc_person": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "ccperson",
                                            "type": "string",
                                            "value": "[email protected]"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_todo": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_cvlink": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "cvlink",
                                            "type": "string",
                                            "value": "@{variables('cvuk')}"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_global": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_debug_string_email_seek_for_skill": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "debugstringonwhatwecanfindintinemail",
                                            "type": "string",
                                            "value": "---"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_isitaskingaresume": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_debug_to_sender": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "debugforsender",
                                            "type": "string",
                                            "value": "send to > @{triggerBody()?&#091;'To']}\nemail content > @{body('Html_to_text_for_the_emailbody')}"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_EmailSendingBody_Html_Format_it": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_devopsrole": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "devopsrole",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_skillcount": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_dont_send": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "dontsend",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_mydebugerrortext_helper": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_email_text_mysendingemailbody": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "mysendingemailbody",
                                            "type": "string",
                                            "value": "<p>I appreciate your interest in my profile for this position. I would love to work with your team and help your company achieve its goals. Please find attached some additional documents that showcase my skills and experience.\n</p>\n<p>Please find my linked CV, which includes a short and detailed version of my work history and education. Additionally, I have included a document outlining my skills and specific areas of expertise that I believe would be valuable in this role.\n</p>\n<p>\nIn order to give you a better sense of my personality and communication style, I have also created an initial video that you will find informative and engaging.\n</p>\n<p>\nThank you again for your time and consideration. I look forward to speaking with you soon.\n</p>\n<p>\nBest regards\nErdem\n</p>"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_maincv_txt": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_global": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "cvglobal",
                                            "type": "string",
                                            "value": "http://gofile.me/4Vwuv/0Hq9WDOcn"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_usa": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_globalrole": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "globalrole",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_us_role": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_iscontract": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "iscontract",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_ukrole": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_isitaskingaresume": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "isitaskingaresume",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_isthisarecruiter": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_issolutionarchitectrole": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "issolutionarchitectrole",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_devopsrole": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_istherearematchingskill": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "istherearematchingskill",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_matchingskills_": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_isthisarecruiter": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "isthisarecruiter",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_globalrole": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_maincv_txt": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "maincvtxt",
                                            "type": "string",
                                            "value": "<p>Erdem Sahin</p>\n<p>Summary Experienced hands-on architect with expertise in DevOps, migration, CI/CD, and Scrum. Recognizes client needs to deliver projects and has a history of successful project completion.</p>\n\n<p>Skills</p>\n<p>\nDevOps, migration, CI/CD, ScrumDomain-Driven Design, software architectural design, artificial intelligence, software project management, continuous delivery, game design, continuous integration, architectural patterns, big data, team leadership, business intelligence, test-driven development, sales management, full stack .NET development, code coverage, messaging, object-oriented development, microservices, Kanban, UML, UI/UX, web development, database, Agile, TDD, BDD, XP, cloud computing, continuous deployment, project estimation, software quality, execute full lifecycle software development, SDLC, Rational Unified Process, web services, ORM, virtual machine management, virtual network management, load balancing, cloud backup, MVC, SOLID design, design patterns, JavaScript, debugging, ChatOps, feature toggles, release flow, reverse proxy, PAAS, tenant, multi-tenancy architecture, adaptive object modeling, virtual reality, Oculus Quest, Facebook Enterprise, video editing, blockchain, Bitcoin, Greenfield projects, ELK, VSS, TFS, BizTalk, messaging queue\n</p>\n<p>\nProjects\n</p>\n<p>\nHere is a list of some of the projects I have worked on in recent years:\n<ul> <li>Pexabo LTD (AWS Solution Architect), United Kingdom, 2023</li> <li>Ypsomed (Git Migration, TFS Migration), Switzerland, 2023</li> <li>Cushman Wakefield (IAC, ETL Automation, DataBricks, MuleSoft, Database), London, 2022</li> <li>Emerson (Kubernetes, Docker Containers), USA, 2021</li> <li>RHIM (Azure AI, GPU Processing, Docker Containers), 2021</li> <li>Sword (Azure Bicep, Octopus, Infrastructure as Code, Pipeline as Code), UK, 2020</li> <li>Theta (Serverless, LogicApp Automation, API Management Automation), London, 2020</li> <li>Ardent Blue Technologies LLC (Python, Serverless CI/CD of Virtual Reality Oculus Ent), USA, 2019</li> <li>ZTE/Netas/Qatar World Cup (Architecture for DevOps Consulting), Qatar, 2019</li> <li>Concentra Analytics (Terraform-based Python DevOps Framework Azure to AWS), London, 2019</li> <li>SmartSpace-Finance (Service Fabric automation for continuous delivery), London, 2019</li> <li>Redbox-TelCo (On-premise Kubernetes Migration, ELK, Confluence), Nottingham, 2018</li> <li>MMT-Translink Ticketing (Docker Microservice Architecture, Python, Confluence), Oakham, 2018</li> <li>Craneware-HealthCare (ChatOps for Continuous Delivery, Confluence), Edinburgh, 2018</li> <li>Scottish Enterprise-Government (Continuous Delivery in Azure, ELK), Glasgow, 2017</li> <li>Ticket Arena-E-commerce (Continuous Integration), Leeds, 2017</li> <li>Holovis International LTD-Gaming (Continuous Build & Cloud backend services), Rugby, 2017</li> <li>Microsoft (Drives high-priority customer initiatives on Azure, Enterprise migration to the cloud, Implementing proof of concepts, pilots, and prototypes), 2016</li> <li>Accenture (Ensure quality assurance of the enterprise software as a manager, Implement agile methodologies such as Kanban and Scrum), 2015</li> <li>Bitcoin Trader (Implement continuous delivery practice as team lead, Bitcoin white label system in multiple regions, Cloud Transformation), 2014</li> <li>Broadage (Implemented microservices design as team lead, CQRS implementation to support a big data system, 24/7 monitoring system), 2013</li> <li>Wordego (Ad server platform implementing dynamic scaling, showcased in San Francisco), 2012</li> </ul>\n</p>\n<p>\nCertifications\n</p>\nMicrosoft Certified Professional, Developing Solutions in Azure (70-532)\n<p>Education</p>\nSouthern New Hampshire University, USA - Information Tech (BA), 2013\n"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Condition_global": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_matchingskills_": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "matchingskills",
                                            "type": "array",
                                            "value": &#091;
                                                "Natural Language Processing",
                                                ".NET",
                                                ".Net Core",
                                                "Adaptive Security",
                                                "Advanced Java",
                                                "Agile Coaching",
                                                "Agile Development",
                                                "AIOps",
                                                "Ajax",
                                                "Amazon RDS",
                                                "Angular",
                                                "Ansible",
                                                "AnyDesk",
                                                "AnyDesk",
                                                "Apache Hadoop",
                                                "Apache Zookeeper",
                                                "API",
                                                "API",
                                                "apim / api management gateway / app gateway",
                                                "appdynamics",
                                                "Apple",
                                                "Architect",
                                                "Architecture Systems",
                                                "Artifactory",
                                                "Artificial Intelligence",
                                                "Asp.NetASP.NET Core",
                                                "AWS",
                                                "AWS CloudFormation",
                                                "AWS CloudWatch",
                                                "AWS Dynamo DB",
                                                "AWS EC2",
                                                "AWS Fargate",
                                                "AWS Lambda",
                                                "AWS RDS",
                                                "AWS Route 53",
                                                "AWS S3",
                                                "AWS VPC",
                                                "Azure",
                                                "Azure AKS",
                                                "Azure App Service",
                                                "Azure Blob Storage",
                                                "Azure Cosmos DB",
                                                "Azure Data Factory",
                                                "Azure Database",
                                                "Azure DevOps",
                                                "Azure Devops",
                                                "Azure DNS",
                                                "Azure Functions",
                                                "Azure Pipelines",
                                                "Azure Virtual Machines",
                                                "Azure Virtual Network",
                                                "BackEnd",
                                                "Bash",
                                                "Bash",
                                                "BDD ( Behavior Driven Development )",
                                                "Bitbucket",
                                                "Biz Talk",
                                                "Blockchain",
                                                "Bootstrap",
                                                "Building Effective Teams",
                                                "C#",
                                                "C#",
                                                "Canva",
                                                "Canva",
                                                "CD Continuous Delivery",
                                                "CDN Content Delivery Networks",
                                                "Change Management",
                                                "Channel bonding",
                                                "Chatbot",
                                                "ChatOps",
                                                "Chef",
                                                "Chocolately",
                                                "Clean Code",
                                                "Cloud",
                                                "Cloud Budget Management",
                                                "Cloud Computing",
                                                "Cloud Front",
                                                "Cloud Native",
                                                "Cloud Security",
                                                "Cloudwatch",
                                                "Code Reviews",
                                                "Communication Skills",
                                                "Configuration automation",
                                                "Confluence",
                                                "Consulting",
                                                "Containers",
                                                "Containers",
                                                "Continuous Delivery",
                                                "Continuous Delivery",
                                                "Continuous Integration",
                                                "Core Java",
                                                "CRM",
                                                "CSS",
                                                "CSS",
                                                "Cybersecurity",
                                                "Dashboard",
                                                "Data Architecture",
                                                "Data Center",
                                                "Databricks",
                                                "Databricks",
                                                "datadog",
                                                "Datafactory",
                                                "Davinci Resolve",
                                                "Davinci Resolve",
                                                "Db40",
                                                "DDD",
                                                "Design patterns",
                                                "Design Patterns",
                                                "Development Tools",
                                                "Devops",
                                                "DevSecOps",
                                                "Digital Marketing",
                                                "DISC assessment",
                                                "Discord",
                                                "Discord",
                                                "Docker",
                                                "Docker Swarm",
                                                "Driving (UK Left Side )",
                                                "Driving (USA Right Side )",
                                                "Dynamodb",
                                                "Eclipse",
                                                "Effective Communication",
                                                "Elastic Search",
                                                "ELK Stack",
                                                "Embedded systems",
                                                "English",
                                                "Entity Framework",
                                                "ETL  ( Extract Transform Load )",
                                                "evmux",
                                                "Excel",
                                                "Games",
                                                "Gem",
                                                "Git",
                                                "Git",
                                                "Gitflow",
                                                "Github",
                                                "Gitlab",
                                                "GitlabCI",
                                                "Gmail",
                                                "Google Cloud Functions",
                                                "Google Compute Engine",
                                                "Google Enterprise",
                                                "Google Firebase",
                                                "Google Play",
                                                "Gpu",
                                                "Grafana",
                                                "Hadoop",
                                                "Helm",
                                                "HTML",
                                                "HTML5",
                                                "HTTP",
                                                "HTTPS",
                                                "IaaS",
                                                "IaC",
                                                "IaC",
                                                "IIS",
                                                "Infrastructure management",
                                                "Introduction to Programming",
                                                "Invoicing",
                                                "Iot",
                                                "Iso 27001",
                                                "Java",
                                                "Javascript",
                                                "JavaScript",
                                                "Jekyll",
                                                "Jenkins",
                                                "Jenkins",
                                                "Jira",
                                                "jQuery",
                                                "JSON",
                                                "Kanban",
                                                "Kanban",
                                                "Kubernetes",
                                                "Language Proficiency English",
                                                "Language Proficiency Turkish",
                                                "Lastpass",
                                                "Linux",
                                                "Logstash",
                                                "MacOs",
                                                "Management",
                                                "Maven",
                                                "Mercurial",
                                                "Microservices",
                                                "Microsoft SQL Server",
                                                "Microsoft Visual Studio",
                                                "Mindmaps",
                                                "Mindmeister",
                                                "Miro",
                                                "Mobility",
                                                "Mongodb",
                                                "Monolith",
                                                "MQ (Message Brokering/Message Queues)",
                                                "MSSQL SSIS",
                                                "MVC",
                                                "MVP",
                                                "MyGet",
                                                "MySQL",
                                                "Negotiation",
                                                "Neo4j",
                                                "Networking",
                                                "Networking",
                                                "New Relic",
                                                "NewRelic",
                                                "nginx",
                                                "Node.JS",
                                                "NodeJs",
                                                "Non-Relational Databases",
                                                "Nosql",
                                                "obs",
                                                "OBS",
                                                "Octopus",
                                                "Oculus",
                                                "Office 365",
                                                "Okta",
                                                "OO Programming",
                                                "Open ID",
                                                "Open Source Training",
                                                "OpenCL / CUDA",
                                                "Oracle",
                                                "Parsec",
                                                "Patterns of Enterprise Application Architecture",
                                                "Penetration Testing",
                                                "Pentest",
                                                "Perforce",
                                                "Personality Profiles",
                                                "Pipelines",
                                                "PostgreSQL",
                                                "PowerBI",
                                                "Powershell",
                                                "Presentation Skills",
                                                "Product Owner",
                                                "Professional Development",
                                                "Proxmox",
                                                "Puppet",
                                                "Python",
                                                "Python",
                                                "Quickbooks",
                                                "Quickbooks",
                                                "Raspberry Pi",
                                                "Rational Unified Process",
                                                "RDP",
                                                "Redis",
                                                "Redis",
                                                "Remote",
                                                "Responsive Design",
                                                "REST",
                                                "Restream.IO",
                                                "Router",
                                                "RPA",
                                                "Ruby",
                                                "S3",
                                                "Screenshot",
                                                "Script Programming",
                                                "Scripting",
                                                "Scrum",
                                                "Scrum",
                                                "Scrumban",
                                                "SDLC",
                                                "Search Engine Optimization (SEO)",
                                                "Secret Manager",
                                                "Secrets Management",
                                                "Security",
                                                "Server Administration",
                                                "Serverless",
                                                "Service Fabric",
                                                "SES",
                                                "Shell",
                                                "Site Reliability Engineering",
                                                "Slack",
                                                "SNS",
                                                "SOA",
                                                "Social Media Marketing",
                                                "Software Architecture Methodologies",
                                                "Software Design",
                                                "Software Engineering Training",
                                                "SOLR",
                                                "Sonarqube",
                                                "Splunk",
                                                "SQS",
                                                "SSH",
                                                "Strategy Communication / Storytelling",
                                                "Streaming",
                                                "System Architecture",
                                                "TDD",
                                                "TDD",
                                                "Teaching and mentoring skills",
                                                "Team Foundation Server",
                                                "Teams",
                                                "Teams",
                                                "Teamviewer",
                                                "Technical Writing",
                                                "Terraform",
                                                "Testing",
                                                "Trello",
                                                "Trunk Based Development",
                                                "Typescript",
                                                "Ubuntu",
                                                "Ubuntu",
                                                "Ubuntu",
                                                "UI",
                                                "UIPath",
                                                "UML modelling",
                                                "Unit Testing",
                                                "Unity 3D",
                                                "Unreal",
                                                "UX",
                                                "Vagrant",
                                                "VB.NET",
                                                "vdo.ninja",
                                                "Video Production",
                                                "Visa",
                                                "Visual Studio",
                                                "Visual Studio Code",
                                                "Vmware workstation",
                                                "Voicemeeter",
                                                "VoiceMeeter",
                                                "VR",
                                                "VR",
                                                "VSS",
                                                "VSTS",
                                                "WAF",
                                                "Web Access Firewall",
                                                "Web Design",
                                                "Web Performance",
                                                "Web Services",
                                                "WebEx",
                                                "Windows",
                                                "Wireshark",
                                                "Workflow",
                                                "Writing Technical White Papers",
                                                "WSDL",
                                                "XML",
                                                "XP",
                                                "XP (Extreme Programming)",
                                                "Xsplit",
                                                "Youtube",
                                                "Zoom"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "self_reference_or_to_a_reply_back_for_the_second_time": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_monitoring_string": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "MONITOR VARIABLE",
                                            "type": "string",
                                            "value": "Markers\n======================\nis this a recuriter: @{variables('isthisarecruiter')}\nglobal role : @{variables('globalrole')}\nusa role : @{variables('usarole')}\ndont send : @{variables('dontsend')}\ndevopsrole : @{variables('devopsrole')}\niscontract: @{variables('iscontract')}\nisukrole : @{variables('ukrole')}\nisitaskingaresume: @{variables('isitaskingaresume')}\nissolutionarchitect: @{variables('issolutionarchitectrole')}\nismatchingskills: @{variables('istherearematchingskill')}\nskillsmatchcount: @{variables('matchskillcount')}\nPlaintext email -\n-------------------------\n@{variables('plaintextemailreceived')}"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_attachments": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_mydebugerrortext_helper": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "mydebugerrortext",
                                            "type": "string",
                                            "value": "XXX"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Condition_blacklisted_check": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_plaintextemailreceived": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "plaintextemailreceived",
                                            "type": "string",
                                            "value": "-"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "check_sending_condition": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_skillcount": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "matchskillcount",
                                            "type": "integer",
                                            "value": 0
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_istherearematchingskill": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_to_debug_sender_and_the_skills_count_": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "sendtodebug",
                                            "type": "string",
                                            "value": "@{triggerBody()?&#091;'SenderName']} skill count : @{variables('matchskillcount')}"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "check_valid_email_to_be_send_to_target_market_as_a_reply": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_todo": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "todoattheendusetwologicapps",
                                            "type": "string",
                                            "value": "use 3 logic apps ( main text cv / attachments / cover letter ) have the delays to show the time that you are writing on this."
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Condition_till_fixed_opening_up_emails_could_be_v2_isold_template": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_todos": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "todos",
                                            "type": "string",
                                            "value": "cv  embed / cv by loc / ai integrate custom email / backlist without opening workflow easier place needed > auto add to the blacklist\ntodo > ai to answer the questions > https://mail.google.com/mail/u/0/#advanced-search/is_unread=true&query=label%3A_borrow_followupmain&isrefinement=true/FMfcgzGtxKRbTHdrGBTjZLxZcVLqltlf"
                                        }
                                    ]
                                },
                                "runAfter": {},
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_uk": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "cvuk",
                                            "type": "string",
                                            "value": "http://gofile.me/4Vwuv/ItDjQzKik"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_to_debug_sender_and_the_skills_count_": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_ukrole": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "ukrole",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_issolutionarchitectrole": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_us_role": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "usarole",
                                            "type": "boolean",
                                            "value": false
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_iscontract": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Initialize_variable_usa": {
                                "inputs": {
                                    "variables": &#091;
                                        {
                                            "name": "cvusa",
                                            "type": "string",
                                            "value": "http://gofile.me/4Vwuv/DUAk9L60T"
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_uk": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "InitializeVariable"
                            },
                            "Reply_to_email_(V2)_new_template_simple_add": {
                                "inputs": {
                                    "body": {
                                        "Body": "<p>@{variables('EmailSendingBody')}</p>",
                                        "Importance": "High",
                                        "Subject": "Thanks for the email",
                                        "To": "@triggerBody()?&#091;'From']"
                                    },
                                    "host": {
                                        "connection": {
                                            "name": "@parameters('$connections')&#091;'gmail']&#091;'connectionId']"
                                        }
                                    },
                                    "method": "post",
                                    "path": "/v2/Mail/ReplyTo/@{encodeURIComponent(triggerBody()?&#091;'Id'])}"
                                },
                                "runAfter": {
                                    "Initialize_variable_cc_person": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "ApiConnection"
                            },
                            "Set_variable_text_of_the_email_that_is_received": {
                                "inputs": {
                                    "name": "plaintextemailreceived",
                                    "value": "@body('Html_to_text_for_the_emailbody')"
                                },
                                "runAfter": {
                                    "Html_to_text_for_the_emailbody": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "SetVariable"
                            },
                            "check_c2c": {
                                "actions": {
                                    "Set_variable_usa_role_with_c2c_match": {
                                        "inputs": {
                                            "name": "usarole",
                                            "value": true
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": &#091;
                                        {
                                            "contains": &#091;
                                                "@triggerBody()?&#091;'Body']",
                                                "c2c"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "check_ir35": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "check_ir35": {
                                "actions": {
                                    "Set_variable_is_it_a_contract": {
                                        "inputs": {
                                            "name": "iscontract",
                                            "value": true
                                        },
                                        "runAfter": {
                                            "Set_variable_uk_contract": &#091;
                                                "Succeeded"
                                            ]
                                        },
                                        "type": "SetVariable"
                                    },
                                    "Set_variable_uk_contract": {
                                        "inputs": {
                                            "name": "ukrole",
                                            "value": true
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": &#091;
                                        {
                                            "contains": &#091;
                                                "@triggerBody()?&#091;'Body']",
                                                "ir35"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Check_uk_": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "check_recruiter": {
                                "actions": {
                                    "Set_variable_5": {
                                        "inputs": {
                                            "name": "isthisarecruiter",
                                            "value": true
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    }
                                },
                                "expression": {
                                    "and": &#091;
                                        {
                                            "contains": &#091;
                                                "@triggerBody()?&#091;'Body']",
                                                "Recruitment "
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Condition_isitaskingaresume": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "check_sending_condition": {
                                "actions": {
                                    "See_the_blocked_email_address": {
                                        "inputs": {
                                            "name": "mydebugerrortext",
                                            "value": "@{triggerBody()?&#091;'From']}"
                                        },
                                        "runAfter": {},
                                        "type": "SetVariable"
                                    },
                                    "Terminate_blacklisted_emails": {
                                        "inputs": {
                                            "runError": {
                                                "code": "5555",
                                                "message": "5555"
                                            },
                                            "runStatus": "Failed"
                                        },
                                        "runAfter": {
                                            "See_the_blocked_email_address": &#091;
                                                "Succeeded"
                                            ]
                                        },
                                        "type": "Terminate"
                                    }
                                },
                                "expression": {
                                    "and": &#091;
                                        {
                                            "equals": &#091;
                                                "@variables('dontsend')",
                                                true
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "For_each_check_and_stop": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "check_valid_email_to_be_send_to_target_market_as_a_reply": {
                                "actions": {},
                                "else": {
                                    "actions": {
                                        "Append_to_string_variable_with_from_address": {
                                            "inputs": {
                                                "name": "mydebugerrortext",
                                                "value": "@triggerBody()?&#091;'From']"
                                            },
                                            "runAfter": {
                                                "Append_to_string_with_body": &#091;
                                                    "Succeeded"
                                                ]
                                            },
                                            "type": "AppendToStringVariable"
                                        },
                                        "Append_to_string_with_body": {
                                            "inputs": {
                                                "name": "mydebugerrortext",
                                                "value": "@body('Html_to_text_for_the_emailbody')"
                                            },
                                            "runAfter": {
                                                "Set_variable_with_title": &#091;
                                                    "Succeeded"
                                                ]
                                            },
                                            "type": "AppendToStringVariable"
                                        },
                                        "Set_variable_with_title": {
                                            "inputs": {
                                                "name": "mydebugerrortext",
                                                "value": "@{triggerBody()?&#091;'Subject']}"
                                            },
                                            "runAfter": {},
                                            "type": "SetVariable"
                                        },
                                        "Terminate_not_maching_email": {
                                            "inputs": {
                                                "runError": {
                                                    "code": "e999",
                                                    "message": "not matched email, discarding this to be used as the direct response email"
                                                },
                                                "runStatus": "Failed"
                                            },
                                            "runAfter": {
                                                "Append_to_string_variable_with_from_address": &#091;
                                                    "Succeeded"
                                                ]
                                            },
                                            "type": "Terminate"
                                        }
                                    }
                                },
                                "expression": {
                                    "or": &#091;
                                        {
                                            "equals": &#091;
                                                "@variables('iscontract')",
                                                true
                                            ]
                                        },
                                        {
                                            "equals": &#091;
                                                "@variables('usarole')",
                                                true
                                            ]
                                        },
                                        {
                                            "equals": &#091;
                                                "@variables('iscontract')",
                                                true
                                            ]
                                        },
                                        {
                                            "equals": &#091;
                                                "@variables('ukrole')",
                                                true
                                            ]
                                        },
                                        {
                                            "equals": &#091;
                                                "@variables('devopsrole')",
                                                true
                                            ]
                                        },
                                        {
                                            "equals": &#091;
                                                "@variables('isthisarecruiter')",
                                                true
                                            ]
                                        },
                                        {
                                            "equals": &#091;
                                                "@variables('issolutionarchitectrole')",
                                                true
                                            ]
                                        },
                                        {
                                            "equals": &#091;
                                                "@variables('istherearematchingskill')",
                                                true
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Initialize_variable_monitoring_string": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "self_reference_or_to_a_reply_back_for_the_second_time": {
                                "actions": {
                                    "Terminate_with_self_reference": {
                                        "inputs": {
                                            "runError": {
                                                "code": "E777",
                                                "message": "self refencing email"
                                            },
                                            "runStatus": "Failed"
                                        },
                                        "runAfter": {},
                                        "type": "Terminate"
                                    }
                                },
                                "expression": {
                                    "and": &#091;
                                        {
                                            "contains": &#091;
                                                "@triggerBody()?&#091;'Body']",
                                                " I am excited about the possibility of joining your team"
                                            ]
                                        }
                                    ]
                                },
                                "runAfter": {
                                    "Set_variable_text_of_the_email_that_is_received": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "If"
                            },
                            "sendemailwithattachmentspexabo": {
                                "inputs": {
                                    "headers": {
                                        "messageid": "@{triggerBody()?&#091;'Id']}",
                                        "mybody": "@{variables('EmailSendingBody')}",
                                        "to": "@{triggerBody()?&#091;'From']}"
                                    },
                                    "host": {
                                        "triggerName": "manual",
                                        "workflow": {
                                            "id": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/resourceGroups/PexaboAutomations/providers/Microsoft.Logic/workflows/sendemailwithattachmentspexabo"
                                        }
                                    }
                                },
                                "runAfter": {
                                    "Delay_30": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "Workflow"
                            },
                            "skillsmatrixerdem": {
                                "inputs": {
                                    "headers": {
                                        "messageid": "@{triggerBody()?&#091;'Id']}",
                                        "myemailbody": "@{triggerBody()}",
                                        "to": "@{triggerBody()?&#091;'From']}"
                                    },
                                    "host": {
                                        "triggerName": "manual",
                                        "workflow": {
                                            "id": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/resourceGroups/PexaboAutomations/providers/Microsoft.Logic/workflows/skillsmatrixerdem"
                                        }
                                    }
                                },
                                "runAfter": {
                                    "Delay_3": &#091;
                                        "Succeeded"
                                    ]
                                },
                                "type": "Workflow"
                            }
                        },
                        "contentVersion": "1.0.0.0",
                        "outputs": {},
                        "parameters": {
                            "$connections": {
                                "defaultValue": {},
                                "type": "Object"
                            }
                        },
                        "triggers": {
                            "When_a_new_email_arrives_build_it_for_recruiterEmbed": {
                                "evaluatedRecurrence": {
                                    "frequency": "Minute",
                                    "interval": 4,
                                    "timeZone": "GMT Standard Time"
                                },
                                "inputs": {
                                    "host": {
                                        "connection": {
                                            "name": "@parameters('$connections')&#091;'gmail']&#091;'connectionId']"
                                        }
                                    },
                                    "method": "get",
                                    "path": "/Mail/OnNewEmail"
                                },
                                "recurrence": {
                                    "frequency": "Minute",
                                    "interval": 4,
                                    "timeZone": "GMT Standard Time"
                                },
                                "type": "ApiConnection"
                            }
                        }
                    },
                    "parameters": {
                        "$connections": {
                            "value": {
                                "azureblob-2": {
                                    "connectionId": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/resourceGroups/PexaboAutomations/providers/Microsoft.Web/connections/azureblob-5",
                                    "connectionName": "azureblob-5",
                                    "id": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/providers/Microsoft.Web/locations/eastus/managedApis/azureblob"
                                },
                                "azureblob-6": {
                                    "connectionId": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/resourceGroups/PexaboAutomations/providers/Microsoft.Web/connections/azureblob-6",
                                    "connectionName": "azureblob-6",
                                    "id": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/providers/Microsoft.Web/locations/eastus/managedApis/azureblob"
                                },
                                "conversionservice": {
                                    "connectionId": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/resourceGroups/PexaboAutomations/providers/Microsoft.Web/connections/conversionservice",
                                    "connectionName": "conversionservice",
                                    "id": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/providers/Microsoft.Web/locations/eastus/managedApis/conversionservice"
                                },
                                "gmail": {
                                    "connectionId": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/resourceGroups/PexaboAutomations/providers/Microsoft.Web/connections/gmail-1",
                                    "connectionName": "gmail-1",
                                    "id": "/subscriptions/15704bda-bb65-45ef-bd84-55b56bb32733/providers/Microsoft.Web/locations/eastus/managedApis/gmail"
                                }
                            }
                        }
                    }
                }
                
                

Imported from rifaterdemsahin.com · 2024