Actions63
- Authentication Actions
- Tenant Management Actions
- Blog Management Actions
- Image Management Actions
- BuilderX AI Integration Actions
- Form Submissions Actions
- Subscription Management Actions
- Subscription Operations Actions
- Product Family Management Actions
- Feature Management Actions
- Invoice Management Actions
- Payment Management Actions
- Payment Method Management Actions
- Coupon Management Actions
- Health Checks Actions
Overview
This node integrates with the Lectful Central API to perform administrative operations related to subscription management and other resources. Specifically, for the Subscription Management - Get Price operation, it retrieves detailed information about a specific price by its ID.
Use cases include:
- Fetching pricing details for subscription plans in an automated workflow.
- Integrating subscription price data into billing or reporting systems.
- Validating price IDs before creating or updating subscriptions.
Example: You have a subscription plan with multiple prices (e.g., monthly, yearly). This node can fetch the details of a particular price to display or use in further automation steps.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful Central API: - Use Stored Credentials - Manual Configuration (provide Base URL and API key manually) |
| Credentials Note | Notice shown when using Manual Configuration mode explaining credential overrides. |
| Base URL Override | Optional base URL to override the stored credential's base URL (exclude /api/v1). |
| API Key Override | Optional API key to override the stored credential's API key. |
| Price ID | The unique numeric identifier of the price to retrieve. (Required) |
Output
The node outputs an array of items where each item contains a json field holding the API response data.
For the Get Price operation, the json output contains the detailed information of the requested price object as returned by the Lectful Central API. This typically includes fields such as:
- Price name
- Description
- Amount (in cents)
- Currency code
- Pricing model
- Billing period unit and frequency
- Trial period (if any)
- Active status
- Associated plan ID
If the API returns a string response, the node attempts to parse it as JSON; otherwise, it returns the raw string.
No binary data is output by this operation.
Dependencies
- Requires access to the Lectful Central API.
- Requires either stored credentials configured in n8n or manual entry of Base URL and API key.
- The API key must have sufficient permissions to read price information.
- No additional external dependencies beyond standard HTTP requests.
Troubleshooting
Missing or invalid credentials:
Error if neither stored credentials nor manual configuration with valid Base URL and API key are provided.
Resolution: Configure credentials properly or switch to manual mode with correct values.Missing Price ID:
The operation requires a valid numeric Price ID. Omitting or providing invalid ID will cause errors.
Resolution: Ensure the Price ID input is set and valid.API request failures:
Network issues, incorrect Base URL, or insufficient permissions may cause request errors.
Resolution: Verify network connectivity, Base URL correctness, and API key permissions.Invalid JSON in manual inputs (not applicable here but relevant for other operations):
Some operations require JSON input; invalid JSON will throw errors.
Resolution: Validate JSON format before input.
Links and References
- Lectful Central API Documentation (Assumed public API docs link)
- n8n Documentation on Creating Custom Nodes
- General REST API usage in n8n: HTTP Request Node