This workflow follows the Execute Workflow Trigger → HTTP Request recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"parameters": {
"inputSource": "passthrough"
},
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1.1,
"position": [
0,
0
],
"id": "fc96a813-f45e-442f-9b73-ed3684b702f9",
"name": "When Executed by Another Workflow"
},
{
"parameters": {
"operation": "set",
"key": "state",
"value": "wait",
"keyType": "string"
},
"type": "n8n-nodes-base.redis",
"typeVersion": 1,
"position": [
688,
144
],
"id": "dbec182b-0879-4a56-9c28-47b2016f4807",
"name": "Set state wait",
"alwaysOutputData": false,
"notesInFlow": true,
"credentials": {
"redis": {
"name": "<your credential>"
}
},
"onError": "continueRegularOutput"
},
{
"parameters": {
"url": "http://host.docker.internal:3000/info/all",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
224,
0
],
"id": "b658184a-07fd-4010-9cc0-e8dfc48d63d8",
"name": "Agent Info"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "48438ac0-0b97-4ecb-9d12-93e861aa00ed",
"leftValue": "={{ $json.food }}",
"rightValue": 17,
"operator": {
"type": "number",
"operation": "lt"
}
},
{
"id": "60870383-58ec-477b-9774-4bf1d8009770",
"leftValue": "={{ $json.saturation }}",
"rightValue": 1,
"operator": {
"type": "number",
"operation": "lt"
}
}
],
"combinator": "or"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
448,
0
],
"id": "0f396ce7-15d1-43ad-9e11-834ea1b1b1a8",
"name": "\u0413\u043e\u043b\u043e\u0434\u0435\u043d ?"
},
{
"parameters": {},
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
688,
-48
],
"id": "e9996404-6136-49c6-adfa-b49a08f3fd96",
"name": "\u041d\u0443\u0436\u043d\u043e \u0435\u0441\u0442\u044c"
},
{
"parameters": {
"operation": "set",
"key": "state",
"value": "eat",
"keyType": "string"
},
"type": "n8n-nodes-base.redis",
"typeVersion": 1,
"position": [
928,
-48
],
"id": "82fe2a0f-3b07-4855-898c-a87e61df9c64",
"name": "Set state eat",
"alwaysOutputData": false,
"notesInFlow": true,
"credentials": {
"redis": {
"name": "<your credential>"
}
},
"onError": "continueRegularOutput"
}
],
"connections": {
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Agent Info",
"type": "main",
"index": 0
}
]
]
},
"Agent Info": {
"main": [
[
{
"node": "\u0413\u043e\u043b\u043e\u0434\u0435\u043d ?",
"type": "main",
"index": 0
}
]
]
},
"\u0413\u043e\u043b\u043e\u0434\u0435\u043d ?": {
"main": [
[
{
"node": "\u041d\u0443\u0436\u043d\u043e \u0435\u0441\u0442\u044c",
"type": "main",
"index": 0
}
],
[
{
"node": "Set state wait",
"type": "main",
"index": 0
}
]
]
},
"\u041d\u0443\u0436\u043d\u043e \u0435\u0441\u0442\u044c": {
"main": [
[
{
"node": "Set state eat",
"type": "main",
"index": 0
}
]
]
}
},
"meta": {
"templateCredsSetupCompleted": true
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
redis
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Statemachinestatefind. Uses executeWorkflowTrigger, redis, httpRequest. Event-driven trigger; 6 nodes.
Source: https://github.com/minecraft-bot-yaliilyaya/minecraft-bot/blob/c4d1b627aabb61668679af8ca227c7eb8b17f467/n8n/StateMachineStateFind.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
02_LLM_Pipeline v1.0. Uses executeWorkflowTrigger, httpRequest, seaTable. Event-driven trigger; 65 nodes.
This template is a powerful, reusable utility for managing stateful, long-running processes. It allows a main workflow to be paused indefinitely at "checkpoints" and then be resumed by external, async
Upload files from any source to your account Kommo or AmoCRM with a simple and reusable workflow. It can split a large file into small ones and upload chunks. Works for Kommo and amoCRM There are 3 re
Remixed Backup your workflows to GitHub from Solomon's work. Check out his templates.
Remixed Backup your workflows to GitHub from Solomon's work. Check out his templates.