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": "A2A Agent Communication Example",
"nodes": [
{
"parameters": {},
"id": "3f4d8e2a-1b2c-3d4e-5f6a-789012345678",
"name": "When clicking \"Test Workflow\"",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
820,
360
]
},
{
"parameters": {
"resource": "agent",
"operation": "getAgentCard",
"agentUrl": "https://your-agent-api.example.com"
},
"id": "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p",
"name": "Get Agent Card",
"type": "n8n-nodes-a2a",
"typeVersion": 1,
"position": [
1040,
360
]
},
{
"parameters": {
"resource": "agent",
"operation": "send",
"agentUrl": "https://your-agent-api.example.com",
"message": "Hello! Can you help me understand the current weather conditions?",
"sessionId": "demo-session-123",
"taskId": "weather-query-001",
"additionalOptions": {
"role": "user",
"timeout": 30000,
"headers": {
"parameter": [
{
"name": "X-Custom-Header",
"value": "demo-value"
}
]
}
}
},
"id": "2b3c4d5e-6f7g-8h9i-0j1k-2l3m4n5o6p7q",
"name": "Send Message to Agent",
"type": "n8n-nodes-a2a",
"typeVersion": 1,
"position": [
1260,
360
]
},
{
"parameters": {
"resource": "agent",
"operation": "sendSubscribe",
"agentUrl": "https://your-agent-api.example.com",
"message": "Please provide a detailed analysis of the latest market trends in technology stocks.",
"sessionId": "demo-session-123",
"taskId": "market-analysis-002",
"additionalOptions": {
"role": "user",
"timeout": 60000,
"includeMetadata": true
}
},
"id": "3c4d5e6f-7g8h-9i0j-1k2l-3m4n5o6p7q8r",
"name": "Send Message with Streaming",
"type": "n8n-nodes-a2a",
"typeVersion": 1,
"position": [
1480,
360
]
},
{
"parameters": {
"values": {
"string": [
{
"name": "summary",
"value": "=Agent communication test completed successfully"
},
{
"name": "agent_card",
"value": "={{ $('Get Agent Card').item.json }}"
},
{
"name": "standard_response",
"value": "={{ $('Send Message to Agent').item.json }}"
},
{
"name": "streaming_response",
"value": "={{ $('Send Message with Streaming').item.json }}"
}
]
},
"options": {}
},
"id": "4d5e6f7g-8h9i-0j1k-2l3m-4n5o6p7q8r9s",
"name": "Combine Results",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
1700,
360
]
}
],
"connections": {
"When clicking \"Test Workflow\"": {
"main": [
[
{
"node": "Get Agent Card",
"type": "main",
"index": 0
}
]
]
},
"Get Agent Card": {
"main": [
[
{
"node": "Send Message to Agent",
"type": "main",
"index": 0
}
]
]
},
"Send Message to Agent": {
"main": [
[
{
"node": "Send Message with Streaming",
"type": "main",
"index": 0
}
]
]
},
"Send Message with Streaming": {
"main": [
[
{
"node": "Combine Results",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2024-01-15T10:30:00.000Z",
"versionId": "12345678-1234-5678-9abc-123456789012"
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
A2A Agent Communication Example. Uses n8n-nodes-a2a. Event-driven trigger; 5 nodes.
Source: https://github.com/bruno-growthsales/n8n-node-a2a/blob/9fa6f1f828cf4204b44b090ca59654d2f116b98b/examples/A2A_Agent_Example_Workflow.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.
agente. Uses googleTasksTool, telegramTrigger, telegramTool, telegram. Event-driven trigger; 94 nodes.
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
Inquiry-Agent. Uses @digitalocean/n8n-nodes-digitalocean-gradient-serverless-inference, stopAndError, googleDocs, gmail. Event-driven trigger; 59 nodes.
AI Social Media Automation for Multiple Platforms using Blotato. Uses telegramTrigger, @blotato/n8n-nodes-blotato, telegram, httpRequest. Event-driven trigger; 52 nodes.
CLEAN Agent - Manual Trigger. Uses googleDrive, googleSheets, httpRequest. Event-driven trigger; 49 nodes.