Lectful icon

Lectful

Interact with the VIPay Lectful API

Overview

This node interacts with the Lectful API to perform various user authentication-related actions, including sending a password reset link when a user forgets their password. The "Forgot Password" operation under the "Authentication" resource triggers an API request to send a password reset email to the specified user email address.

Common scenarios:

  • Automating password reset workflows in user management systems.
  • Integrating Lectful's password recovery process into custom automation pipelines.
  • Triggering password reset emails programmatically without manual intervention.

Practical example:
You can use this node to automatically send a password reset email to users who request it via a form on your website or through a support ticket system, ensuring a smooth and secure password recovery process.

Properties

Name Meaning
Authentication Mode Choose how to authenticate with the Lectful API:
- Use Stored Credentials
- Manual Configuration (provide Base URL and API key manually)
Credentials Note Informational note shown only when using Manual Configuration mode.
Base URL Override Optional base URL to override the stored credential setting (without /api/v1).
API Key Override Optional API key to override the stored credential setting.
Email User email address to send the password reset link to. Required for Forgot Password operation.

Output

The node outputs the JSON response from the Lectful API corresponding to the "forgot password" request. This typically includes confirmation that the password reset email was sent or error details if the request failed.

The output structure is:

{
  "json": {
    // API response fields, e.g.:
    "message": "Password reset email sent successfully"
  }
}

No binary data is produced by this operation.

Dependencies

  • Requires access to the Lectful API.
  • Requires either stored credentials configured in n8n (including base URL and API key) or manual entry of these parameters.
  • Proper API key permissions must allow sending password reset emails.

Troubleshooting

  • Missing Base URL or API Key:
    If using Manual Configuration mode, both Base URL Override and API Key Override must be provided; otherwise, the node will throw an error.

  • Invalid or Missing Credentials:
    When using stored credentials mode, ensure valid credentials are configured in n8n. Invalid or missing credentials cause errors.

  • API Errors:
    The API may return errors such as "User not found" if the email does not exist in the system. Check the email input and API response message.

  • Network Issues:
    Connectivity problems to the Lectful API endpoint will result in request failures. Verify network access and correct base URL.

Links and References

Discussion