AutomationFlowsGeneral › A2a Transfer Example

A2a Transfer Example

A2A Transfer Example. Uses a2a. Event-driven trigger; 4 nodes.

Event trigger★★☆☆☆ complexity4 nodesA2A
General Trigger: Event Nodes: 4 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": "A2A Transfer Example",
  "nodes": [
    {
      "parameters": {},
      "id": "e0b63e52-4a0d-4f63-8d8c-9a8b7c6d5e4f",
      "name": "When clicking 'Test Workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        820,
        360
      ]
    },
    {
      "parameters": {
        "resource": "transfer",
        "operation": "create",
        "amount": 100.5,
        "currency": "USD",
        "fromAccountId": "acc_123456789",
        "toAccountId": "acc_987654321",
        "reference": "Transfer for services",
        "description": "Monthly service payment"
      },
      "id": "c3f4a5b6-7d8e-9f0a-1b2c-3d4e5f6a7b8c",
      "name": "Create A2A Transfer",
      "type": "n8n-nodes-base.a2a",
      "typeVersion": 1,
      "position": [
        1040,
        360
      ],
      "credentials": {
        "a2aApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "transfer",
        "operation": "get",
        "transferId": "={{ $json.transfer_id }}"
      },
      "id": "d4e5f6a7-8b9c-0d1e-2f3a-4b5c6d7e8f9a",
      "name": "Get Transfer Status",
      "type": "n8n-nodes-base.a2a",
      "typeVersion": 1,
      "position": [
        1260,
        360
      ],
      "credentials": {
        "a2aApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "account",
        "operation": "getBalance",
        "accountId": "acc_123456789"
      },
      "id": "e5f6a7b8-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
      "name": "Check Source Account Balance",
      "type": "n8n-nodes-base.a2a",
      "typeVersion": 1,
      "position": [
        1040,
        540
      ],
      "credentials": {
        "a2aApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When clicking 'Test Workflow'": {
      "main": [
        [
          {
            "node": "Create A2A Transfer",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check Source Account Balance",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create A2A Transfer": {
      "main": [
        [
          {
            "node": "Get Transfer Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "versionId": "12345678-1234-1234-1234-123456789abc",
  "id": "87654321-4321-4321-4321-210987654321",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "tags": [
    {
      "createdAt": "2024-06-02T20:00:00.000Z",
      "updatedAt": "2024-06-02T20:00:00.000Z",
      "id": "tag1",
      "name": "finance"
    },
    {
      "createdAt": "2024-06-02T20:00:00.000Z",
      "updatedAt": "2024-06-02T20:00:00.000Z",
      "id": "tag2",
      "name": "transfers"
    }
  ]
}

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

A2A Transfer Example. Uses a2a. Event-driven trigger; 4 nodes.

Source: https://github.com/bruno-growthsales/n8n-node-a2a/blob/9fa6f1f828cf4204b44b090ca59654d2f116b98b/examples/A2A_Example_Workflow.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

03 - Flow Control Demo (Loop) V2. Event-driven trigger; 11 nodes.

General

Report Examples Demo. Event-driven trigger; 7 nodes.

General

Google Sheets UI for n8n Workflow. Uses manualTrigger, stickyNote, splitInBatches, googleSheets. Event-driven trigger; 6 nodes.

Google Sheets
General

Reusable and Independently Testable Sub-workflow. Uses executeWorkflowTrigger, manualTrigger, stickyNote. Event-driven trigger; 6 nodes.

Execute Workflow Trigger
General

example_1. Uses n8nTrainingCustomerDatastore. Event-driven trigger; 6 nodes.

N8N Training Customer Datastore