Planfix connects as a channel: your AI Employee replies to customers with comments in tasks, and Planfix delivers the reply to the messenger the request came from. The connection consists of an API token, a channel in AI Textura, and an automated scenario in Planfix.
Planfix isn’t a messenger. A customer writes to you in Telegram, WhatsApp, by email, or in your website chat, and Planfix turns the request into a task and stores the conversation in its comments. When an employee replies with a comment, Planfix sends it back to the customer in the same channel.Your AI Employee fits into this setup like a regular Planfix employee:
1
The customer writes
The message arrives in the Planfix task as a new comment.
2
Planfix calls AI Textura
An automated scenario sends the comment to your channel’s webhook URL.
3
The AI replies
AI Textura adds a reply comment to the task.
4
Planfix delivers the reply
The customer gets the reply where they wrote: in Telegram, WhatsApp, or by email.
You don’t need to connect messengers separately. All channels already set up in your Planfix automatically become available to your AI Employee through a single Planfix channel.
Your Planfix: you need the API Access and Automated Scenarios sections
Account domain
Your full Planfix address, including the zone: acc.planfix.ru or acc.planfix.com
API token
Created in Step 1
Bot employee in Planfix
A regular employee that tasks for the AI will be assigned to. You can use an existing one
Connecting takes three steps and about 15 minutes. The order matters: the webhook URL only appears after you save the channel, and you can’t set up the scenario without it.
In Planfix, go to Account Management → API Access → REST API.
2
Create a new key
Create a new API key and give it a clear name, for example “AI Textura.”
3
Grant permissions (scope)
The token needs at least these permissions:
Permission
Why
comment_add
Post replies as comments
contact_readonly
Identify which customer the request came from
file_add
Attach files
file_readonly
Read customer attachments
task_update
Reassign the task on handoff to an operator
user_readonly
Get the list of employees and groups for the Assign To field
4
Copy the token
Save it somewhere temporarily; you’ll need it in the next step.
The API token grants full access to your Planfix account. Don’t send it via messengers or store it in shared documents. Once saved in AI Textura, the token is hidden and never shown again.
Go to AI Employees → select an AI Employee → Channel tab → Connect New subtab.
2
Select Planfix
Find Planfix in the platform list and click Create.
3
Fill in the two required fields
Domain: the full account address, including the zone: acc.planfix.ru. You can paste it with https://; the extra part is removed automatically.
API Token: the key from Step 1.
4
Click Connect
The channel is saved, and AI Textura generates a unique, secret webhook URL for it.
5
Copy the webhook URL
Open the channel you just created on the Connected tab. In the Webhook URL field, click the copy button. You’ll need this address in Step 3.
The Webhook URL field stays empty until the channel is saved, and that’s expected. The address is generated once when the channel is created and doesn’t change afterward.
The webhook URL works like a password. Anyone who knows it can send messages to your AI Employee on behalf of customers. Don’t publish it.
In the Change notifications block, leave Notify selected and save.
For contactId, choose the requester’s Number, not “Identifier.” “Identifier” returns a different, technical number, and with it the reply won’t reach the customer’s messenger.
To send every new task straight to the AI, set the bot employee as the default assignee in the task template. Otherwise, you’ll have to set the assignee manually, and the scenario won’t fire until you do.
Besides the six required parameters, you can pass any task fields to your AI Employee, such as city, contract number, plan, or request topic. It receives them along with the message and takes them into account in its reply.Add more rows to the same parameter list. You make up the name yourself, and it becomes the label the AI sees:
Parameter
Value
What the AI sees
Request topic
{{Задача.Название}}
Request topic: Invoice not received
City
{{Задача.Поле.Город}}
City: Kazan
Contract number
{{Задача.Поле.Договор}}
Contract number: DG-7788
Name parameters in plain language, since the AI reads these exact labels. Contract number is clearer than contract_no.
Limits: no more than 15 additional fields, names up to 60 characters, values up to 300 characters. Empty fields aren’t sent.
Turn on Send Reply as Note if you want to review what the AI replies before showing it to the customer. Replies appear in the task as hidden comments, marked with a lock and visible only to your employees.
It’s a convenient, risk-free way to test a new AI Employee on real requests. Once you’re happy with the replies, turn off the toggle, and the AI starts replying to customers directly.
Fill in the When to Hand Off to Operator field in plain words, no special syntax. For example:
If they ask about a refund or if the order total is over 100,000 ₽
If you leave the field empty, the default cases apply: the customer explicitly asks for a human, the AI can’t resolve the issue, or the conversation is about a refund or complaint.
Handoff to an operator is off by default, so turn it on deliberately. If the Assign To field is empty, the task is left without an assignee: the bot leaves it, but the system doesn’t assign a specific employee.
Why is the API token field empty when I open the channel settings?
That’s by design. The token grants full access to your Planfix account, so once it’s saved, we never show it again, not even to you. The channel still works: the token is stored and used. Fill in the field only if you want to replace the key with a new one.
The Assign To list is empty and asks for the domain and token.
The employee list comes from Planfix, and the request needs the token, which, as described above, isn’t shown in the form. Paste the token into the field again, the list will load, then select an employee and save.
The AI doesn't reply to comments. What should I check?
In order: (1) the task assignee is the bot employee specified in the scenario conditions; (2) the comment was written by a contact, not an employee (the scenario ignores colleagues on purpose); (3) the scenario is enabled and the action has the correct webhook URL; (4) the channel in AI Textura is active and the AI Employee’s status is “Active”; (5) the AI Employee’s working schedule allows it to reply right now.
Planfix says "Scope denied" or "No access."
The token is missing permissions. Go back to Account Management → API Access and grant the key all six permissions: comment_add, contact_readonly, file_add, file_readonly, task_update, user_readonly.
The reply appears in the task but doesn't reach the customer.
The cause is almost always the contactId parameter: the scenario uses “Identifier” instead of “Number.” Change the value to {{Задача.Постановщик.Номер}}. The other possible cause is that Send Reply as Note is on, in which case only employees can see the reply.
Won't the bot start replying to itself?
No. First, the scenario condition “Comment author is a contact” filters out the bot’s comments. Second, Planfix doesn’t run scenarios for comments added via the API. Third, AI Textura discards duplicates by comment number. That’s three independent safeguards.
Can I connect several Planfix accounts?
Yes. Each account is a separate channel with its own domain, token, and webhook URL. Remember the rule: one channel is linked to one AI Employee.
What happens if I change the scenario or disable the channel?
A disabled channel stops receiving messages: Planfix keeps sending requests, but there will be no replies. If you need to hand conversations back to human employees for a while, turn off the AI Employee rather than the channel, so the conversation history is preserved.