How it works
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:The customer writes
Planfix calls AI Textura
The AI replies
Planfix delivers the reply
What you need
Step 1. Create an API token in Planfix
Open the API section
Create a new key
Grant permissions (scope)
Copy the token
Step 2. Create a channel in AI Textura
Open the AI Employee
Select Planfix
Fill in the two required fields
- Domain: the full account address, including the zone:
acc.planfix.ru. You can paste it withhttps://; the extra part is removed automatically. - API Token: the key from Step 1.
Click Connect
Copy the webhook URL
Step 3. Set up an automated scenario in Planfix
The scenario is what makes Planfix call AI Textura on every new customer message.Open scenarios
Set the event
Set the conditions
- Comment author is a contact, so the bot only replies to customers, not to colleagues’ comments.
- Assignee = your bot employee, so the bot only works in tasks assigned to it.
Add the Send HTTP Request action
- Method:
POST - URL: the webhook URL you copied in Step 2
- Type:
application/json - Request body: switch to the PARAMETERS tab (not “Text”)
- Authorization: No authorization
Add the parameters
Save the scenario
Additional fields: context from the task
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:Channel settings
Open the channel on the Connected tab to change its settings.Note mode
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.Handoff to an operator
If you turn on Allow Handoff to Operator, the AI can bring in a human employee on its own. Here’s how it works:- The AI tells the customer it’s bringing in a colleague.
- A hidden note with a short summary of the conversation is added to the task, so the employee doesn’t have to reread the whole thread.
- The task is reassigned to whoever is set in the Assign To field.
- The bot stops replying: the scenario no longer fires, because the bot is no longer the assignee.
When to hand off
Fill in the When to Hand Off to Operator field in plain words, no special syntax. For example:Attachments
If the scenario passes thefileIds parameter, your AI Employee receives the files the customer attached to the comment:
Check that everything works
Create a task
Write as a customer
Wait for the reply
Check delivery
FAQ
Why is the API token field empty when I open the channel settings?
Why is the API token field empty when I open the channel settings?
The Assign To list is empty and asks for the domain and token.
The Assign To list is empty and asks for the domain and token.
The AI doesn't reply to comments. What should I check?
The AI doesn't reply to comments. What should I check?
Planfix says "Scope denied" or "No access."
Planfix says "Scope denied" or "No access."
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 reply appears in the task but doesn't reach the customer.
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?
Won't the bot start replying to itself?
Can I connect several Planfix accounts?
Can I connect several Planfix accounts?
What happens if I change the scenario or disable the channel?
What happens if I change the scenario or disable the channel?