n8n
Workflow
Analyze Feedback Using Aws Comprehend And Send It To A Mattermost Channel
This n8n workflow automates tasks using Mattermost. Analyze Feedback Using Aws Comprehend And Send It To A Mattermost Channel - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks using Mattermost. Analyze Feedback Using Aws Comprehend And Send It To A Mattermost Channel - ready to import and run in your n8n instance.
Features:
- Conditional logic and branching
- Integrates with Mattermost
- Sends notifications or updates
Source Code
{
"nodes": [
{
"name": "Mattermost",
"type": "n8n-nodes-base.mattermost",
"position": [
810,
300
],
"parameters": {
"message": "=You got new feedback with a score of {{$json[\"SentimentScore\"][\"Negative\"]}}. Here is what it says:{{$node[\"Typeform Trigger\"].json[\"What did you think about the event?\"]}}",
"channelId": "h7cxrd1cefr13x689enzyw7xhc",
"attachments": [],
"otherOptions": []
},
"credentials": {
"mattermostApi": "Mattermost Credentials"
},
"typeVersion": 1,
"id": "c4c91d9e-0e04-44fc-8b3d-47a5648054a4"
},
{
"name": "NoOp",
"type": "n8n-nodes-base.noOp",
"position": [
800,
500
],
"parameters": [],
"typeVersion": 1,
"id": "8f99e1c0-5979-4b55-81d1-4bc802cb668d"
},
{
"name": "IF",
"type": "n8n-nodes-base.if",
"position": [
600,
400
],
"parameters": {
"conditions": {
"number": [],
"string": [
{
"value1": "={{$json[\"Sentiment\"]}}",
"value2": "NEGATIVE"
}
]
}
},
"typeVersion": 1,
"id": "cdeaf63c-778f-4c1a-bfb7-d5e57349a7e5"
},
{
"name": "AWS Comprehend",
"type": "n8n-nodes-base.awsComprehend",
"position": [
400,
400
],
"parameters": {
"text": "={{$json[\"What did you think about the event?\"]}}",
"operation": "detectSentiment"
},
"credentials": {
"aws": "AWS Comprehend Credentials"
},
"typeVersion": 1,
"id": "09c7115d-7eae-4398-bbdb-d2fc4f70db13"
},
{
"name": "Typeform Trigger",
"type": "n8n-nodes-base.typeformTrigger",
"position": [
200,
400
],
"webhookId": "ad8a87ef-d293-4e48-8d36-838d69ebce0f",
"parameters": {
"formId": "DuJHEGW5"
},
"credentials": {
"typeformApi": "typeform"
},
"typeVersion": 1,
"id": "7a5d4147-d210-44ec-89dd-2831a7b64103"
}
],
"connections": {
"IF": {
"main": [
[
{
"node": "Mattermost",
"type": "main",
"index": 0
}
],
[
{
"node": "NoOp",
"type": "main",
"index": 0
}
]
]
},
"AWS Comprehend": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
},
"Typeform Trigger": {
"main": [
[
{
"node": "AWS Comprehend",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, Mattermost API credentials
Tags
#n8n
#automation
#workflow