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
- In your project, go to Agents and open the intended agent.
- Open the Tools tab and click Add in the plugins section.
- Select GetCourse, then Create payment link.
Main settings
Complete the configuration window:
- What the tool does — a clear purpose, such as “Consultation payment”.
- GetCourse account — the account that will receive payments.
- How to select an item — one fixed item or an agent-selected item from a list. A list requires at least two items.
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.
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.
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 @
- Open the agent’s Settings, place the cursor in the instruction and click @.
- Select Plugins, then GetCourse.
- Select the payment tool. If it has not been configured, complete the form that opens. A tool reference is inserted into 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
- In the same plugin list, select Payment confirmed.
- Click Add in the event details.
- Describe the reaction in the instruction, such as thanking the customer and explaining the next step. Then publish the agent changes.
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.