Lola Generate URL icon

Lola Generate URL

Lola Generate URL

Lola Generate URL

AI-generated

Overview

The Lola Generate URL node is designed to generate specific URLs for various money-related operations within the Numi platform, such as requesting money, sending money, adding a card, funding requests, and receiving money. It acts as an integration point between n8n workflows and the Lola/Numi financial services, allowing users to automate the creation of transaction links that can be shared with clients or used in chat-based payment flows.

Common scenarios:

  • Automating the process of requesting payments from clients via chat.
  • Generating payment or fund transfer links for customers.
  • Integrating with chatbots or messaging platforms to facilitate financial transactions.
  • Streamlining onboarding by generating add-card URLs for new users.

Practical examples:

  • A business wants to send a payment request link to a customer via WhatsApp.
  • An agent needs to generate a unique URL for a client to add their card details securely.
  • Automating payout or fund collection processes in a support workflow.

Properties

Name Meaning
Source The type of operation to perform. Options:
- Add Card Numi
- Fund Request Money Numi
- Receive Money Numi
- Request Money Numi
- Send Money Numi
Phone Number The phone number of the client involved in the transaction. Required for all operations.
Chat Identifier A unique identifier for the chat session associated with the transaction. Required for all operations.
Source ID An identifier to track the source of the chat session or transaction. Required for all operations.
Type Sender Specifies the sender type (Sender for US, Recipient for MX). Only shown for "Add Card Numi".
Contact Name Request The name of the contact for whom the request or send operation is being performed. Required for "Request Money Numi" and "Send Money Numi".
Contact Phone Request The phone number of the contact for whom the request or send operation is being performed. Required for "Request Money Numi" and "Send Money Numi".
Amount The amount to request or send. Required for "Request Money Numi" and "Send Money Numi".
payoutMethod The payout method (e.g., VISA-1111) for the transaction. Used in "Request Money Numi" and "Receive Money Numi".
paymentMethod The payment method (e.g., VISA-1111) for the transaction. Required for "Send Money Numi" and "Fund Money Numi".
Transaction ID The unique identifier for the transaction. Required for "Fund Money Numi" and "Receive Money Numi".
returnUrl The URL to which the user will be redirected after completing the transaction. Optional for all operations.
Message Confirm A custom confirmation message (e.g., for WhatsApp) to be sent along with the transaction. Used in "Request Money Numi" and "Send Money Numi".
appName The application name initiating the transaction. Optional for all operations.
Url Enviroment The base URL/environment for the API endpoint. Defaults to {{ $json.UrlEnviromentLola }} if not specified.

Output

  • The node outputs a single field in the json object:
    • lola_url: The generated URL corresponding to the selected operation (e.g., request money, send money, add card, etc.). This URL can be shared with users or used in subsequent workflow steps.

Example output:

{
  "lola_url": "https://example.com/transactions/make-request-money?params=..."
}
  • No binary data is produced by this node.

Dependencies

  • External Service: Requires access to the Lola/Numi API endpoints.
  • API Key: Optionally uses the lolaKeyApi credential if configured in n8n.
  • Environment Variable: The urlEnviroment property should point to the correct API environment (can be set dynamically).

Troubleshooting

Common issues:

  • Missing required fields: If any required property (such as Phone Number, Chat Identifier, etc.) is missing, the node may throw validation errors.
  • Invalid API URL: If urlEnviroment is incorrect or unreachable, the node will fail to generate the URL.
  • Incorrect operation selection: Choosing an operation but omitting its required fields will result in errors.

Error messages and resolutions:

  • "Parameter X is required" — Ensure all required properties for the selected operation are filled.
  • "API request failed" — Check your API credentials, network connectivity, and the correctness of the urlEnviroment.
  • "Invalid transaction ID" — Make sure the Transaction ID exists and is valid for the operation.

Links and References

Discussion