AutomationFlowsAI & RAG › Trustfield Agentic Outbound Dispatch

Trustfield Agentic Outbound Dispatch

TrustField Agentic Outbound Dispatch. Uses httpRequest. Event-driven trigger; 5 nodes.

Event trigger★★★★☆ complexity5 nodesHTTP Request
AI & RAG Trigger: Event Nodes: 5 Complexity: ★★★★☆ Added:

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 →

Download .json
{
  "name": "TrustField Agentic Outbound Dispatch",
  "nodes": [
    {
      "parameters": {},
      "id": "trigger",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{$env.TRUSTFIELD_API_URL}}/api/admin/agentic/dispatch/request",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "company",
              "value": "={{$json.company}}"
            },
            {
              "name": "target_email",
              "value": "={{$json.target_email}}"
            },
            {
              "name": "subject",
              "value": "={{$json.subject}}"
            },
            {
              "name": "template_id",
              "value": "={{$json.template_id}}"
            },
            {
              "name": "body_preview",
              "value": "={{$json.body_html}}"
            },
            {
              "name": "workflow_run_id",
              "value": "={{$execution.id}}"
            }
          ]
        }
      },
      "id": "hitl_request",
      "name": "HITL Queue Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        480,
        300
      ],
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "amount": 1,
        "unit": "hours"
      },
      "id": "wait_hitl",
      "name": "Wait HITL (or Telegram approve)",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1,
      "position": [
        720,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{$env.TRUSTFIELD_API_URL}}/api/admin/agentic/dispatch/send",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "queue_id",
              "value": "={{$node['HITL Queue Request'].json.queue_id}}"
            }
          ]
        }
      },
      "id": "resend_send",
      "name": "Resend via API",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        960,
        300
      ],
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{$env.TRUSTFIELD_API_URL}}/api/admin/agentic/dispatch-ack",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "company",
              "value": "={{$json.company}}"
            },
            {
              "name": "dispatch_ref",
              "value": "=resend:{{$json.message_id}}"
            },
            {
              "name": "message_id",
              "value": "={{$json.message_id}}"
            },
            {
              "name": "provider",
              "value": "resend"
            },
            {
              "name": "template_id",
              "value": "={{$json.template_id}}"
            }
          ]
        }
      },
      "id": "ledger_ack",
      "name": "Ledger Ack (fallback)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        1200,
        300
      ],
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "HITL Queue Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HITL Queue Request": {
      "main": [
        [
          {
            "node": "Wait HITL (or Telegram approve)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait HITL (or Telegram approve)": {
      "main": [
        [
          {
            "node": "Resend via API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Resend via API": {
      "main": [
        [
          {
            "node": "Ledger Ack (fallback)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "templateCredsSetupCompleted": false,
    "description": "Import to n8n. Env: TRUSTFIELD_API_URL, X-Admin-Token credential. See docs/gtm/AGENTIC_N8N_DISPATCH_WORKFLOW.md"
  }
}

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.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

TrustField Agentic Outbound Dispatch. Uses httpRequest. Event-driven trigger; 5 nodes.

Source: https://gist.github.com/kazemnezhadsina144-dot/7c4826fbe2e149d75abc832b5a0b3d0f — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This is for SaaS founders, agency owners, and Sales Ops managers who use HubSpot but are tired of "toe-stepping." If your BDRs are accidentally emailing your AE’s active deals, or Marketing is blastin

Data Table, HTTP Request
AI & RAG

Inquiry-Agent. Uses @digitalocean/n8n-nodes-digitalocean-gradient-serverless-inference, stopAndError, googleDocs, gmail. Event-driven trigger; 59 nodes.

@Digitalocean/N8N Nodes Digitalocean Gradient Serverless Inference, Stop And Error, Google Docs +4
AI & RAG

AI Social Media Automation for Multiple Platforms using Blotato. Uses telegramTrigger, @blotato/n8n-nodes-blotato, telegram, httpRequest. Event-driven trigger; 52 nodes.

Telegram Trigger, @Blotato/N8N Nodes Blotato, Telegram +1
AI & RAG

CLEAN Agent - Manual Trigger. Uses googleDrive, googleSheets, httpRequest. Event-driven trigger; 49 nodes.

Google Drive, Google Sheets, HTTP Request
AI & RAG

🤖🧑‍💻 AI Agent for Top n8n Creators Leaderboard Reporting. Uses httpRequest, executeWorkflowTrigger, readWriteFile, googleDrive. Event-driven trigger; 49 nodes.

HTTP Request, Execute Workflow Trigger, Read Write File +3