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
This node integrates with the Cash App API to manage various resources such as payments, customers, products, inventory, subscriptions, invoices, loyalty accounts, gift cards, and reports. Specifically for the Delete Product operation, it allows users to delete a product from their Cash App catalog by specifying the product's unique ID.
This node is beneficial in scenarios where you want to automate product management workflows, such as removing discontinued or obsolete products from your online store catalog without manual intervention. For example, when a product is no longer available, you can trigger this node to delete it automatically based on certain conditions or events in your workflow.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product to delete (e.g., product_123456789). This is required to specify which product should be removed from the catalog. |
Output
The node outputs a JSON object containing the result of the delete operation under the key product. This typically includes confirmation details or metadata returned by the Cash App API about the deleted product.
Example output structure:
{
"json": {
"resource": "product",
"operation": "deleteProduct",
"success": true,
"creditsUsed": 1,
"creditsRemaining": 99,
"product": {
// Details confirming deletion or related metadata
}
}
}
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the external Cash App API.
- The node uses an internal helper class to interact with the Cash App API endpoints.
- Proper configuration of the API URL and API key must be set in the node credentials.
- The node validates each operation via a dedicated validation endpoint before execution.
Troubleshooting
Common issues:
- Invalid or missing Product ID will cause the operation to fail.
- API authentication errors if the API key credential is incorrect or expired.
- Network connectivity issues preventing access to the Cash App API.
- Attempting to delete a product that does not exist or has already been deleted.
Error messages:
"N8N Tools API validation failed": Indicates the operation or resource is not valid or the API key lacks permissions."Cash App operation failed: <message>": General failure message with details from the API response."Unknown product operation: deleteProduct": Should not occur if configured correctly; indicates a mismatch in operation handling.
Resolutions:
- Ensure the Product ID is correct and exists in the catalog.
- Verify API key credentials and permissions.
- Check network connectivity and API endpoint availability.
- Use the node’s error handling options to continue on failure if partial processing is acceptable.
Links and References
- Cash App Developer Documentation (for API details)
- n8n Documentation on Creating Custom Nodes
- Square API Catalog Object Management (related concepts): https://developer.squareup.com/reference/square/catalog-api
This summary focuses exclusively on the Delete Product operation within the Product resource as requested.