N8N Tools - Cash App
Actions38
- Payment Actions
- Customer Actions
- Product Actions
- Inventory Actions
- Subscription Actions
- Invoice Actions
- Loyalty Actions
- Gift Card Actions
- Report Actions
Overview
The node integrates with the Cash App Pay system via an extensible Square API, enabling users to manage various financial and business operations such as payments, customers, products, inventory, subscriptions, invoices, loyalty programs, gift cards, and reports. Specifically, for the Invoice - Get Invoice operation, it retrieves detailed information about a specific invoice by its ID.
This node is beneficial in scenarios where automated workflows require fetching invoice details from Cash App for processing, auditing, or reporting purposes. For example, a business could automatically retrieve invoice data after a payment event to update their internal accounting system or trigger follow-up actions based on invoice status.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | The unique identifier of the invoice to retrieve (e.g., "invoice_123456789"). This property is required for the Get Invoice operation. |
Output
The node outputs a JSON object containing the retrieved invoice details under the invoice key. The structure of this JSON corresponds to the invoice data returned by the Cash App API, which typically includes fields such as invoice ID, status, amount, customer info, line items, due date, and other relevant invoice metadata.
Example output snippet:
{
"invoice": {
"id": "invoice_123456789",
"status": "PAID",
"amount": 2500,
"currency": "USD",
"customerId": "customer_987654321",
"lineItems": [...],
"dueDate": "2024-07-01T00:00:00Z",
...
},
"success": true,
"creditsUsed": 1,
"creditsRemaining": 99
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the N8N Tools API that proxies or manages access to the Cash App API.
- The node uses HTTP POST requests to validate operations before executing them.
- Proper configuration of the API URL and API key in the node credentials is necessary.
- The node depends on the bundled
cashapp-apihelper class for making specific API calls.
Troubleshooting
Common issues:
- Invalid or missing Invoice ID will cause the operation to fail.
- Incorrect or expired API key credential may result in authentication errors.
- Network connectivity problems can prevent successful API calls.
- If the invoice ID does not exist or is inaccessible, the API will return an error.
Error messages:
"N8N Tools API validation failed"indicates the initial validation request was unsuccessful, possibly due to invalid credentials or unsupported resource/operation."Cash App operation failed: <message>"wraps any underlying API or execution errors; check the message for specifics like "Invoice not found" or "Unauthorized".
Resolution tips:
- Verify the Invoice ID is correct and exists in your Cash App account.
- Ensure the API key credential is valid and has appropriate permissions.
- Check network settings and firewall rules.
- Enable "Continue On Fail" in the node settings to handle errors gracefully in workflows.