{"$schema":"","contentVersion":"1.0.0.0","parameters":{"workflows_AMLEMAILALERTS_name":{"defaultValue":"AMLEMAILALERTS","type":"String"},"connections_office365_1_externalid":{"defaultValue":"","type":"String"}},"variables":{},"resources":[{"type":"Microsoft.Logic/workflows","apiVersion":"2017-07-01","name":"[parameters('workflows_AMLEMAILALERTS_name')]","location":"australiasoutheast","properties":{"state":"Enabled","definition":{"$schema":"","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"}}, "triggers":{"manual":{"type":"Request","kind":"Http","inputs":{"method":"POST","schema":{"properties":{"email_body":{"type":"string"},"subject":{"type":"string"},"to":{"type":"string"}},"type":"object"}}}},"actions":{"Send_an_email_(V2)_2":{"runAfter":{},"type":"ApiConnection","inputs":{"body":{"Body":"

@{triggerBody()?['email_body']}

","Importance":"Normal","Subject":"@triggerBody()?['subject']","To":"@triggerBody()?['to']"},"host":{"connection":{"name":"@parameters('$connections')['office365']['connectionId']"}},"method":"post","path":"/v2/Mail"}}},"outputs":{}},"parameters":{"$connections":{"value":{"office365":{"connectionId":"[parameters('connections_office365_1_externalid')]","connectionName":"office365-1","id":""}}}}}}]}