Lola Generate URL icon

Lola Generate URL

Lola Generate URL

Overview

The Lola Generate URL node is designed to generate specific URLs for various money-related operations within the "Numi" system, such as requesting money, sending money, adding a card, funding requests, and receiving money. It acts as an interface between n8n workflows and the Lola/Numi backend, constructing and returning a unique URL based on user input and the selected operation.

Common scenarios:

  • Automating payment or fund request flows in chatbots or customer service systems.
  • Generating links for users to complete transactions (send/request/fund/receive money) via Numi.
  • Integrating with messaging platforms to send transaction links directly to clients.

Practical examples:

  • A support agent triggers a "Request Money" link to be sent to a client via WhatsApp.
  • An automated workflow sends a "Receive Money" link after confirming a transaction ID.
  • A chatbot generates a "Send Money" link for a user to pay another contact.

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. Required for all operations.
Source ID An identifier to track the source of the chat session. Required for all operations.
Type Sender Specifies the sender type for "Add Card Numi". Options:
- Sender (US country)
- Recipient (MX country)
Contact Name Request The name of the contact for whom the request or send operation is being made. 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 made. 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). Used in "Request Money Numi" and "Receive Money Numi".
paymentMethod The payment method (e.g., VISA-1111). Required for "Send Money Numi" and "Fund Money Numi".
Transaction ID The transaction identifier. Required for "Fund Money Numi" and "Receive Money Numi".
returnUrl The URL to which the user will be redirected after completing the operation. Optional for all operations.
Message Confirm A custom confirmation message for WhatsApp. Used in "Request Money Numi" and "Send Money Numi".
appName The application name initiating the request. Used in all operations.

Output

  • The node outputs a single field in the json object:
    • lola_url: The generated URL string for the requested operation. This URL can be shared with users to complete the corresponding action (e.g., send/request/fund/receive money, add card).

Example output:

{
  "lola_url": "https://example.com/transactions/make-request-money?..."
}

Dependencies

  • External Service: Requires access to the Lola/Numi API endpoints (e.g., /transactions/make-request-money, etc.).
  • API Key: Optionally uses the lolaKeyApi credential if configured in n8n.
  • n8n Configuration: No special environment variables are required unless specified by the Lola/Numi API documentation.

Troubleshooting

Common issues:

  • Missing Required Fields: If a required property (such as Phone Number, Chat Identifier, etc.) is not provided, the node may throw an error indicating missing parameters.
  • Invalid Operation Selection: Selecting an operation without providing the necessary fields for that operation will result in errors.
  • API Errors: If the Lola/Numi API returns an error (e.g., invalid credentials, network issues), the node will fail and may display the error message from the API.

Error messages and resolutions:

  • "Parameter X is required" — Ensure all required fields for the selected operation are filled.
  • "Invalid API key" — Check that the correct API credentials are set up in n8n.
  • "Network Error" — Verify connectivity to the Lola/Numi API endpoint.

Links and References

  • n8n Documentation
  • For more information about Lola/Numi APIs, refer to your organization's internal API documentation or contact the API provider.

Discussion