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 →
{
"name": "DeleteWorker",
"nodes": [
{
"parameters": {
"queue": "Crud_Delete",
"options": {}
},
"type": "n8n-nodes-base.rabbitmqTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "e1259ca6-afe4-4e7b-8d4f-a3424f9a87f6",
"name": "RabbitMQ Trigger",
"credentials": {
"rabbitmq": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"jsCode": "const returnItems = [];\n\nfor (const item of $input.all()) {\n try {\n const contentString = item.json.content;\n \n const parsedData = JSON.parse(contentString);\n \n returnItems.push({\n json: parsedData \n });\n\n } catch (error) {\n if (item.json === undefined || item.json === null) {\n item.json = {};\n }\n item.json.error_on_parse = error.message;\n returnItems.push(item); \n }\n}\n\nreturn returnItems;"
},
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
208,
0
],
"id": "5280986b-1f04-4996-90f9-f3fdd5863543",
"name": "json_Extractor"
},
{
"parameters": {
"operation": "deleteTable",
"schema": {
"__rl": true,
"mode": "list",
"value": "public"
},
"table": {
"__rl": true,
"value": "messages",
"mode": "list",
"cachedResultName": "messages"
},
"deleteCommand": "delete",
"where": {
"values": [
{
"column": "id",
"value": "={{ $json.params.id }}"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.postgres",
"typeVersion": 2.6,
"position": [
416,
0
],
"id": "aa3f0ce5-ea19-4e17-9aed-0e80f76bd567",
"name": "delete_Rows_In_Table",
"credentials": {
"postgres": {
"name": "<your credential>"
}
}
}
],
"connections": {
"RabbitMQ Trigger": {
"main": [
[
{
"node": "json_Extractor",
"type": "main",
"index": 0
}
]
]
},
"json_Extractor": {
"main": [
[
{
"node": "delete_Rows_In_Table",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "1dc8a932-7396-40a6-b9c3-7fe604622ad1",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "spKBLchMbYM81OLl",
"tags": []
}
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.
postgresrabbitmq
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
DeleteWorker. Uses rabbitmqTrigger, postgres. Event-driven trigger; 3 nodes.
Source: https://github.com/marleytw/Teste-Tecnico-crud-n8n-react/blob/cd676d13ca1c1fa22e1df92d2c04475eb294cb5d/N8n/DeleteWorker.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.
PostWorker. Uses rabbitmqTrigger, postgres. Event-driven trigger; 3 nodes.
PutWorker. Uses rabbitmqTrigger, postgres. Event-driven trigger; 3 nodes.
Reagendamiento_v2. Uses executeWorkflowTrigger, redis, httpRequest, n8n-nodes-evolution-api. Event-driven trigger; 89 nodes.
This workflow acts as a junior finance research analyst for a UK boutique M&A or corporate finance team. It listens for Slack messages, classifies the request, gathers company or market data, and prod
Agendamiento_v2. Uses n8n-nodes-evolution-api, redis, httpRequest, executeWorkflowTrigger. Event-driven trigger; 59 nodes.