Skip to main content
Once the integration is connected, the Wompi node becomes available in Canvas and lets you create payment experiences with embedded WebView or external confirmation inside the conversational flow.
If you have not installed the integration yet, follow Connect in Brain Studio first.

Add the node to Canvas

1

Open your flow in Canvas

In Brain Studio, open the flow where you want to add the Wompi payment.
2

Add the Wompi node

Add Wompi from the Canvas toolbar, from the Payments node, or from the available payment providers once the integration is installed.The exact location may vary depending on whether you started the installation from Marketplace, Jelou Agent, the payments node in Canvas, or a template.
3

Connect the node to the payment point

Connect the Wompi node after the flow already has the amount, the buyer data, and the purchase confirmation.
4

Open the configuration panel

Select the node to open the right side panel, complete the inputs, and review the available outputs.
Wompi node in Canvas with the configuration side panel open

Wompi node with the configuration side panel open


Configure the node

Payment data

boolean
default:"false"
Lets you define the message that accompanies the payment button in the conversation.If enabled, it activates Header, Body, and Footer when they are available in your version of the node.
string
Title of the payment button message.Shown when Customize payment button texts is active and the field is available in your version of the node.
string
Main text of the payment button message.Shown when Customize payment button texts is active and the field is available in your version of the node.
string
required
Descriptive text for the charge. Examples: order number, product, service, or internal reference.
number
required
Amount on which VAT applies.
number
required
Amount exempt from taxes. If it does not apply, use 0.
string
required
Full name of the buyer. Ideally, it should come from a variable captured earlier in the flow.Applies when Payment experience is WebView Payment.
string
required
Email of the buyer who will use the checkout.In Sandbox it can be a test or controlled email. In production it must be the buyer’s real email.Applies when Payment experience is WebView Payment.
string
required
Defines whether the payment holder is an Individual or a Company.Required when Payment experience is External Confirmation Payment.
string
First name of the person holding the payment.Applies when Payment experience is External Confirmation Payment. If the flow does not send it, the conversational agent asks the payer directly.
string
Last name of the person holding the payment.Applies when Payment experience is External Confirmation Payment.
string
ID number if the holder is an individual, or tax ID (NIT) if a company.Applies when Payment experience is External Confirmation Payment.
string
Email of the payment holder.Applies when Payment experience is External Confirmation Payment.
string
Phone number the payer has registered in Nequi.Applies only when the payer chooses Nequi within External Confirmation Payment. If you do not send it from the flow, the agent asks for it directly in the conversation before generating the payment.
Nequi phone number field on the Wompi node, with the placeholder Payer's phone number in Nequi

Nequi phone number field, shown when paying with Nequi

Wompi node side panel on the Payment data tab showing Person type, Cardholder first name, Cardholder last name, Document or tax ID number, and Email

Payment data with the External Confirmation Payment experience: Person type, Cardholder first name, Cardholder last name, Document or tax ID number, and Email

Advanced

The Environment block shows whether Wompi operates in Development or Production.If the integration is in Development, you can start the Switch to production flow from there.If the integration is in Production, the block reflects that Wompi is already operating with production credentials.
The environment depends on the installed credentials. Do not switch to production without preparing production credentials and configuring the corresponding Events URL in Wompi.
string
required
Defines how the payer completes the transaction. Available options:
  • WebView Payment — opens the Wompi checkout as an embedded WebView inside the conversation.
  • External Confirmation Payment — a conversational agent guides the payer to complete the payment with Nequi or PSE, outside WhatsApp.
Wompi node Advanced tab showing the Payment experience field with the WebView Payment and External Confirmation Payment options

Payment experience field on the Wompi node's Advanced tab

number
Defines how long the payment button remains valid after being sent.The available values depend on the configuration visible in Brain Studio.
string
required
Defines the currency of the charge.For Wompi Colombia, you will normally use COP.
number
Defines the VAT percentage applied to the payment operation.
string
Optional field to store an internal reference such as order ID, sequence number, user ID, or booking ID.
string
Defines the name of the variable where Brain Studio will store the full JSON response from the node.
Useful for traceability, later validations, or flow decisions.

How external confirmation works

When you select External Confirmation Payment in Payment experience, the node internally activates a conversational agent that guides the payer before generating the charge.
1

The agent asks for the payment method

The agent asks the payer which method they want to use: PSE or Nequi.
WhatsApp conversation where the Wompi agent asks whether the payment will be made with PSE or Nequi

The agent asks for the payment method

2

The agent completes the missing details

If the flow does not send Cardholder first name, Cardholder last name, Document or tax ID number, or Email, the agent asks for them in the conversation. With PSE, it also asks for the document type and the bank.If the chosen method is Nequi and Nequi phone number was not sent, the agent asks for it specifically before continuing.
WhatsApp conversation where the Wompi agent asks for the phone number to complete a Nequi payment

The agent asks for the phone number tied to a Nequi payment when it is missing from the flow

3

The agent confirms the details before continuing

The agent shows a summary of the recorded details and asks the payer to reply Confirm to continue, or indicate what to correct. The summary varies by chosen method:
  • PSE: payment method, holder, document, email, and bank.
  • Nequi: payment method, holder, document, email, and phone number.
WhatsApp conversation with the details summary for a PSE payment and the instruction to reply Confirm

Confirmation summary for a PSE payment

WhatsApp conversation with the details summary for a Nequi payment and the instruction to reply Confirm

Confirmation summary for a Nequi payment

4

The payer completes the payment outside WhatsApp

Depending on the chosen method:
  • PSE: the agent delivers a Proceed to payment button that opens a secure form to authorize the transfer from the selected bank.
  • Nequi: the agent sends the payment request to the payer’s Nequi app, who must open it and approve the payment.

External confirmation with Wompi

5

Brain Studio continues the flow based on the result

Wompi notifies the payment status via events and the node continues through the corresponding output (Successful payment, Pending payment, Failed payment, or Error), just like in the WebView experience.
With External Confirmation Payment, the payment is completed outside WhatsApp (in the PSE form or in the Nequi app). The node does not open a WebView inside the chat.

Test payments in Sandbox

If Wompi is connected with Sandbox credentials, you can test the checkout with the test data published by Wompi.
In Sandbox, the payment is fictitious and does not move real money.
1

Confirm Sandbox credentials

Verify that Wompi is installed with credentials that have the prefixes pub_test_, prv_test_, test_events_, and test_integrity_.
2

Configure the node in the test environment

In the Advanced tab, verify that the environment corresponds to development/test and confirm the Payment experience you want to test (WebView Payment or External Confirmation Payment).
3

Complete buyer data

With WebView Payment, use a test or controlled email and name in the Buyer email and Buyer full name fields.With External Confirmation Payment, choose the Person type and complete (or let the agent ask for) Cardholder first name, Cardholder last name, Document or tax ID number, Email, and, if using Nequi, Nequi phone number.
4

Test from WhatsApp

Trigger the flow from WhatsApp.
  • With WebView Payment, open the Wompi checkout and select a test payment method.
  • With External Confirmation Payment, choose PSE or Nequi when the agent asks and follow the flow until confirmation.
5

Validate the flow output

Verify which output continues the flow:
  • Successful payment
  • Pending payment
  • Failed payment
  • Error
Animation of the Wompi WebView checkout opened from WhatsApp to complete a Sandbox test payment

Wompi checkout in WhatsApp using Sandbox test data


Sandbox test data

Test data only applies when the integration is installed with Sandbox credentials and the node runs in the test environment.
To test card payments in Sandbox:
  • Approved: 4242 4242 4242 4242
  • Declined: 4111 1111 1111 1111
Use any future expiration date and a 3-digit CVC.If you use another card, the final status may be ERROR.
To test Nequi payments:
  • Approved: 3991111111
  • Declined: 3992222222
Any other number may generate a transaction with ERROR status.
In the Wompi checkout, use the available test banks:
  • Bank that approves: generates an approved transaction.
  • Bank that rejects: generates a declined transaction.
Wompi also publishes test data for methods such as Botón Bancolombia, Bancolombia QR, Puntos Colombia, DaviPlata, BNPL Bancolombia, and other methods available depending on the account.Check the official Wompi documentation on Sandbox test data to review the updated detail.

Switch to production

If you installed Wompi with development/Sandbox credentials, you can start the switch to production from the Advanced tab of the Wompi node in Canvas or from the Wompi page in Marketplace. In both cases, the same modal opens to enter production credentials and confirm the corresponding configuration. Before operating with real payments:
  • Make sure you have complete Production credentials: public key, private key, events secret, and integrity secret. Also confirm that the Events URL is correctly configured in Wompi.
  • Use the Switch to production flow described in Connect in Brain Studio.
  • Replace any test data in the node with real flow data.
  • In production, use the buyer’s real email and name.
  • Run a real low-amount test before scaling.

Important considerations

If you installed Wompi with Sandbox credentials, test with test data. If you installed with Production credentials, use real data.
The final payment status depends on the events that Wompi sends to Jelou. If the Events URL is not configured in the correct environment, the flow may not advance through the expected output.
In pending or failed scenarios, inform the user clearly before starting another payment attempt. Keep retries under control.
With External Confirmation Payment, the payment does not happen inside WhatsApp. Your flow must handle Pending payment and the final outputs without assuming immediate confirmation, just like with other external confirmation providers.
Test cards, phones, and banks only apply in Sandbox. In production, the user must use real data.

Next step

Coverage and pricing

Review Wompi’s availability, currency, payment methods, and commercial considerations.