You have to use expressions to use the output of other nodes. I did it in the example below. Info about expressions can be found here: Node Basics | Docs.
Let me know if something it’s not clear.
{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"channel": "ricardo",
"text": "=The User [{{$node[\"Mailchimp\"].json[\"email_address\"]}}] unsubscribed from the List [{{$node[\"Mailchimp\"].json[\"list_id\"]}}] \n\n// test by Hüseyin",
"attachments": [],
"otherOptions": {},
"blocksUi": {
"blocksValues": []
}
},
"name": "Slack",
"type": "n8n-nodes-base.slack",
"typeVersion": 1,
"position": [
950,
290
],
"credentials": {
"slackApi": "asasas"
}
},
{
"parameters": {
"operation": "get",
"list": "49d9db79b3",
"email": "={{$node[\"Mailchimp Trigger\"].json[\"data[email]\"]}}",
"options": {}
},
"name": "Mailchimp",
"type": "n8n-nodes-base.mailchimp",
"typeVersion": 1,
"position": [
730,
290
],
"credentials": {
"mailchimpApi": "asasas"
}
},
{
"parameters": {
"list": "49d9db79b3",
"events": [
"unsubscribe"
],
"sources": [
"user",
"admin",
"api"
]
},
"name": "Mailchimp Trigger",
"type": "n8n-nodes-base.mailchimpTrigger",
"typeVersion": 1,
"position": [
490,
290
],
"webhookId": "634fd24e-49d1-4c80-a0a5-b50cda791a5d",
"credentials": {
"mailchimpApi": "asasas"
}
}
],
"connections": {
"Mailchimp": {
"main": [
[
{
"node": "Slack",
"type": "main",
"index": 0
}
]
]
},
"Mailchimp Trigger": {
"main": [
[
{
"node": "Mailchimp",
"type": "main",
"index": 0
}
]
]
}
}
}