87 lines
1.6 KiB
JSON
87 lines
1.6 KiB
JSON
{
|
|
"nodes": [
|
|
{
|
|
"name": "Asana",
|
|
"type": "n8n-nodes-base.asana",
|
|
"position": [
|
|
450,
|
|
500
|
|
],
|
|
"parameters": {
|
|
"name": "={{$json[\"query\"][\"parameter\"]}}",
|
|
"workspace": "",
|
|
"authentication": "oAuth2",
|
|
"otherProperties": {
|
|
"projects": [
|
|
""
|
|
]
|
|
}
|
|
},
|
|
"credentials": {
|
|
"asanaOAuth2Api": ""
|
|
},
|
|
"typeVersion": 1
|
|
},
|
|
{
|
|
"name": "Webhook",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"position": [
|
|
250,
|
|
500
|
|
],
|
|
"webhookId": "b43ae7e2-a058-4738-8d49-ac76db6e8166",
|
|
"parameters": {
|
|
"path": "asana",
|
|
"options": {
|
|
"responsePropertyName": "response"
|
|
},
|
|
"responseMode": "lastNode"
|
|
},
|
|
"typeVersion": 1
|
|
},
|
|
{
|
|
"name": "Set",
|
|
"type": "n8n-nodes-base.set",
|
|
"position": [
|
|
650,
|
|
500
|
|
],
|
|
"parameters": {
|
|
"values": {
|
|
"string": [
|
|
{
|
|
"name": "response",
|
|
"value": "=Created Asana Task: {{$json[\"permalink_url\"]}}"
|
|
}
|
|
]
|
|
},
|
|
"options": {}
|
|
},
|
|
"typeVersion": 1
|
|
}
|
|
],
|
|
"connections": {
|
|
"Asana": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Set",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Webhook": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Asana",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
} |