Skip to content

Commit b04a1b0

Browse files
author
dksimpson
committed
Edits
1 parent e82d9f3 commit b04a1b0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/azure-functions/functions-twitter-email.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.custom: mvc, cc996988-fb4f-47
1414

1515
Azure Functions integrates with Azure Logic Apps in the Logic Apps Designer. This integration lets you use the computing power of Functions in orchestrations with other Azure and third-party services.
1616

17-
This tutorial shows you how to use Azure Functions with Logic Apps and Cognitive Services on Azure to run sentiment analysis from Twitter posts. An HTTP triggered function categorizes tweets as green, yellow, or red based on the sentiment score. An email is sent when poor sentiment is detected.
17+
This tutorial shows you how to use Azure Functions with Logic Apps and Cognitive Services on Azure to run sentiment analysis from Twitter posts. An HTTP trigger function categorizes tweets as green, yellow, or red based on the sentiment score. An email is sent when poor sentiment is detected.
1818

1919
![image first two steps of app in Logic App Designer](media/functions-twitter-email/00-logic-app-overview.png)
2020

@@ -63,7 +63,7 @@ The Cognitive Services APIs are available in Azure as individual resources. Use
6363

6464
4. Click **Create** to create your resource.
6565

66-
5. Click on **Overview** and copy the value of the **Endpoint** to a text editor. This value is used when creating a connection to the Cognitive Services API.
66+
5. Click **Overview** and copy the value of the **Endpoint** to a text editor. This value is used when creating a connection to the Cognitive Services API.
6767

6868
![Cognitive Services Settings](media/functions-twitter-email/02-cognitive-services.png)
6969

@@ -73,17 +73,17 @@ The Cognitive Services APIs are available in Azure as individual resources. Use
7373

7474
## Create the function app
7575

76-
Azure Functions provides a great way to offload processing tasks in a logic apps workflow. This tutorial uses an HTTP triggered function to process tweet sentiment scores from Cognitive Services and return a category value.
76+
Azure Functions provides a great way to offload processing tasks in a logic apps workflow. This tutorial uses an HTTP trigger function to process tweet sentiment scores from Cognitive Services and return a category value.
7777

7878
[!INCLUDE [Create function app Azure portal](../../includes/functions-create-function-app-portal.md)]
7979

8080
## Create an HTTP trigger function
8181

8282
1. From the left menu of the **Functions** window, select **Functions**, then select **Add** from the top menu.
8383

84-
2. From the **New Function** window, select **Http trigger**.
84+
2. From the **New Function** window, select **HTTP trigger**.
8585

86-
![Choose the HTTP trigger](./media/functions-twitter-email/06-function-http-trigger.png)
86+
![Choose HTTP trigger function](./media/functions-twitter-email/06-function-http-trigger.png)
8787

8888
3. From the **New Function** page, select **Create Function**.
8989

@@ -125,7 +125,7 @@ Azure Functions provides a great way to offload processing tasks in a logic apps
125125

126126
This function code returns a color category based on the sentiment score received in the request.
127127

128-
5. To test the function, select **Test** from the top menu. In the **Input** tab, enter a value of `0.2` in the **Body**, and then select **Run**. A value of **RED** is returned in the body of the response in the **Output** tab.
128+
5. To test the function, select **Test** from the top menu. On the **Input** tab, enter a value of `0.2` in the **Body**, and then select **Run**. A value of **RED** is returned in the **HTTP response content** on the **Output** tab.
129129

130130
![Define the proxy settings](./media/functions-twitter-email/07-function-test.png)
131131

@@ -187,7 +187,7 @@ Now your app is connected to Twitter. Next, you connect to text analytics to det
187187

188188
![New Step, and then Add an action](media/functions-twitter-email/12-connection-settings.png)
189189

190-
4. Next, enter **Tweet text** in the text box and then click on **New Step**.
190+
4. Next, enter **Tweet text** in the text box and then click **New Step**.
191191

192192
![Define text to analyze](media/functions-twitter-email/13-analyze-tweet-text.png)
193193

0 commit comments

Comments
 (0)