n8n
Workflow
Sample Error Workflow
This n8n workflow automates tasks and integrates with various services. Sample Error Workflow - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks and integrates with various services. Sample Error Workflow - ready to import and run in your n8n instance.
Features:
- Automates workflow tasks
- Ready to import into n8n
- Configurable parameters
Source Code
{
"nodes": [
{
"name": "Twilio",
"type": "n8n-nodes-base.twilio",
"position": [
900,
300
],
"parameters": {
"message": "=The workflow named '{{$node[\"Error Trigger\"].json[\"workflow\"][\"name\"]}}' with the ID {{$node[\"Error Trigger\"].json[\"workflow\"][\"id\"]}} has encountered an error."
},
"credentials": {
"twilioApi": "Twilio"
},
"typeVersion": 1,
"id": "7ed66ec0-ca4b-436e-84cf-feb752098bc3"
},
{
"name": "Mattermost",
"type": "n8n-nodes-base.mattermost",
"position": [
650,
300
],
"parameters": {
"message": "=The workflow named '{{$json[\"workflow\"][\"name\"]}}' with the ID {{$json[\"workflow\"][\"id\"]}} has encountered an error. The last node that was executed was {{$json[\"execution\"][\"lastNodeExecuted\"]}}.",
"attachments": [],
"otherOptions": []
},
"credentials": {
"mattermostApi": "Mattermost"
},
"typeVersion": 1,
"id": "71faceae-0548-4407-97c7-b8a9f589985f"
},
{
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"position": [
450,
300
],
"parameters": [],
"typeVersion": 1,
"id": "9442edff-c561-4173-9a14-deedefa4a8a3"
}
],
"connections": {
"Mattermost": {
"main": [
[
{
"node": "Twilio",
"type": "main",
"index": 0
}
]
]
},
"Error Trigger": {
"main": [
[
{
"node": "Mattermost",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, Mattermost API credentials
Tags
#n8n
#automation
#workflow