ruLog in to Senler

Agent tools

An agent can create a payment link for a selected item, check payment when the customer asks and respond once payment is confirmed. First connect an account and configure GetCourse notifications.

Open the agent tools

  1. In your project, go to Agents and open the intended agent.

Opening an agent from the project

  1. Open the Tools tab and click Add in the plugins section.

Where to add a plugin tool to an agent

  1. Select GetCourse, then Create payment link.

Selecting the GetCourse payment-link tool

Main settings

Complete the configuration window:

  1. What the tool does — a clear purpose, such as “Consultation payment”.
  2. GetCourse account — the account that will receive payments.
  3. How to select an item — one fixed item or an agent-selected item from a list. A list requires at least two items.

Tool title, GetCourse account and item selection mode

Payment items

Complete the product or service in Payment items:

Field Value
Offer ID The numeric ID of an existing GetCourse offer. The screenshot uses 10001 as a demo; replace it with your own offer ID, not a product ID.
Name A purchase name the customer will recognize.
Price, ₽ A positive unit price.
Quantity An integer of at least 1. The total is price multiplied by quantity.
Order description An optional clarification.

Click Item to add options. Use different GetCourse offers. The agent selects an allowed option; you set its price and quantity.

Payment item fields

Customer contacts

In Customer contacts, configure phone and email sharing.

Email is required: GetCourse uses it to identify the buyer. If it is unknown, the agent must ask for it first. Phone is optional.

Customer contact settings

Save

Review the fields and click Add or Save in the Senler window below the app. The tool will appear in the agent. Add another configured instance for a different purchase. More about the configuration window.

Reference the tool in the instruction with @

  1. Open the agent’s Settings, place the cursor in the instruction and click @.

The @ button in the agent instruction

  1. Select Plugins, then GetCourse.

Reference menu: Plugins

  1. Select the payment tool. If it has not been configured, complete the form that opens. A tool reference is inserted into the instruction.

Selecting the payment tool for the instruction

Add an instruction beside the reference, for example: “Once the customer agrees to the consultation and price, ask for their email, then create and send a payment link. Reuse the existing link when asked to resend it for the same order. Confirm payment only after the payment event or a successful status check.”

Check payment when the customer asks

Use Tools → Add → GetCourse to add Check payment too. In the instruction, explain that it must receive order_id from the create-link result. An item name or a number from the customer’s screenshot cannot replace that ID.

Enable a response after payment

  1. In the same plugin list, select Payment confirmed.

Selecting Payment confirmed for the agent

  1. Click Add in the event details.

Adding the payment event to the agent

  1. Describe the reaction in the instruction, such as thanking the customer and explaining the next step. Then publish the agent changes.

Publishing the agent settings and instruction

Test in a separate conversation: agree on a purchase → create a link → receive confirmation → respond. Link creation can create a real GetCourse order; it does not charge the customer by itself. For automation orders, configure continuation with Wait for payment.