ruLog in to Senler

Create payment link

This step creates an order for one configured item and saves its payment link. Add a separate message step to send the link to the customer.

Add the step

Open your project → Automations → the intended For dialogs automation. Click Add step and select Prodamus → Create payment link. Find the step catalog.

Selecting Create payment link

Select the new step and click Open step settings in the right panel.

Payment step configuration and save buttons

Configure the purchase

Select the Prodamus account and complete one item: code, name, price in rubles, quantity and optional description. The example is one consultation priced at 5,000 ₽. Use your own values.

Payment account and step inputs

Configuring the product or service

In Step result, keep the suggested variable names or enter your own:

Result Purpose
order_id Order ID for checking and waiting for payment.
payment_url The link to send to the customer.
status Status after creating the link.
amount_kopecks Total in kopecks: 500,000 for a 5,000 ₽ purchase.
item_code Selected item code.

Payment step result variables

Save using the Senler button below the embedded app. After editing the step, click Save in the step panel.

  1. Use Add step to add Message and connect it to the create-link output.
  2. Enter Consultation payment link: {{run.payment_url}} in the message. If you renamed the variable, use its new name. Configure a message step.
  3. After the message, add Wait for payment with {{run.order_id}} to continue after payment. For an immediate check, use Check payment.

Creating and sending a link, then waiting for payment

A saved link means the customer can proceed to checkout. Connect delivery of the paid result to the confirmed-payment branch. Testing and publishing the workflow.