
First production by Gavin
Efo Gozah
Description
<p>This is a basic logic app flow shown by code:</p><p>{</p><p> "definition": {</p><p> "$schema": "<a href="https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#" rel="noopener noreferrer nofollow">https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#</a>",</p><p> "actions": {</p><p> "Send<em>an</em>email_(V2)": {</p><p> "inputs": {</p><p> "body": {</p><p> "Body": "<p>pls view</p>",</p><p> "Subject": "@triggerBody()?['TweetText']",</p><p> "To": "v-xuanyiliu@microsoft.com"</p><p> },</p><p> "host": {</p><p> "connection": {</p><p> "name": "@parameters('$connections')['office365']['connectionId']"</p><p> }</p><p> },</p><p> "method": "post",</p><p> "path": "/v2/Mail"</p><p> },</p><p> "type": "ApiConnection"</p><p> }</p><p> },</p><p> "contentVersion": "1.0.0.0",</p><p> "parameters": {</p><p> "$connections": {</p><p> "type": "Object"</p><p> }</p><p> },</p><p> "triggers": {</p><p> "When<em>a</em>new<em>tweet</em>is_posted": {</p><p> "inputs": {</p><p> "host": {</p><p> "connection": {</p><p> "name": "@parameters('$connections')['twitter_1']['connectionId']"</p><p> }</p><p> },</p><p> "method": "get",</p><p> "path": "/onnewtweet",</p><p> "queries": {</p><p> "searchQuery": "You"</p><p> }</p><p> },</p><p> "recurrence": {</p><p> "frequency":