Pennylane icon

Pennylane

n8n community node for Pennylane External API v2 - Complete & Working

Actions69

🏦 Bank Account → Get

AI-generated

Summary

Retrieve a single bank account record from Pennylane by its ID.

Inputs

  • bankAccountSelectionMode — Choose how to select the bank account: select from the loaded list or enter a custom ID manually. Defaults to 'list'. Applies to get, update, and delete operations on bankAccount resources.
  • resourceId — The bank account identifier. When 'bankAccountSelectionMode' is 'list', this is a dropdown loaded via the 'getBankAccounts' method (Pennylane API GET /bank_accounts). When 'bankAccountSelectionMode' is 'manual', this is a free-text string representing the bank account ID to fetch.

Output shape

A single bank account JSON object returned by the Pennylane API endpoint GET /bank_accounts/{id}. The node outputs this as a single JSON item (not auto-split, since this operation is 'Get' rather than 'Get All'). If the API returns an error or HTML (e.g., authentication issue), the node may return an error message depending on the 'continueOnFail' setting.

The operation constructs the API call '/bank_accounts/${resourceId}' using the Pennylane external API v2. The 'bankAccountSelectionMode' parameter gates visibility of the 'resourceId' parameter: 'list' shows a dropdown bound to 'getBankAccounts'; 'manual' shows a text input for direct ID entry. Both modes apply to get, update, and delete operations on the bankAccount resource.

Examples

Example 1: Select a bank account from the Pennylane list and retrieve its details.

Set 'bankAccountSelectionMode' to 'list', leave 'resourceId' empty (the node populates the dropdown). The workflow author selects an item from the UI, and the node fetches GET /bank_accounts/{selected_id}, returning the bank account record as a single output item.

Links

Discussion