Guides ·
Procure to Pay in Pipefy: requests, approvals and quotes talking on WhatsApp
The P2P AI Studio automates purchasing from request to payment. BrainChat brings requesters, approvers and suppliers into the conversation, with everything recorded on the card.
By Lucas Marchon, Founder at BrainChat
Pipefy's Procure to Pay organizes purchasing in stages: request, approval, adjustments, quote, compliance check and payment, with AI agents that validate orders, build supplier comparisons and run negotiation rounds.
Purchasing depends on people outside the pipe: the requester who did not detail the order, the approver who is traveling, the supplier who only answers on their phone. That is where BrainChat comes in.
Where BrainChat comes in
- A complete request the first time. The requester opens the order through a BrainChat form or through the conversation with the agent, which asks for what is missing (cost center, quantity, deadline) before creating the card.
- Adjustments without e-mail back-and-forth. At the Adjustments stage, whoever handles the card asks for the correction over WhatsApp and the answer is recorded with the order.
- Quotes with suppliers. The buyer sends the quote request to suppliers over WhatsApp from the card. Replies, files and deadlines stay in the conversation linked to the request.
- Notice to the approver. A Pipefy automation calls the BrainChat agent to notify the approver, with the order summary, when the card reaches the approval phase.
- View for the requesting area. With the pipes synced, a dashboard in Studio shows each area the progress of its requests and spending by cost center, without giving access to the pipe.
End-to-end traceability
Pipefy's P2P already records each decision on the card. With BrainChat, the conversation that led to the decision is kept too: what the supplier answered, when the requester confirmed and which file was sent. In an audit, the whole history is in one place.
How to connect BrainChat to your pipe
- Connect WhatsApp in BrainChat. Create the channel through the official WhatsApp Business API or through WhatsApp Web.
- Install the app in Pipefy. In BrainChat, open Embedding, copy the app address (Manifest URL) and register it in Pipefy Developers. Then, in the pipe, go to Manage → Tools → Apps and enable BrainChat. Every card gets the WhatsApp button.
- Create the fields on the card. An Embed ID field, with technical name
emb_id, and a phone field (Phone, WhatsApp, Mobile or Telephone), numbers only. - Fill in the Embed ID automatically. Create the automation "When a card is created → Update a field", choose the Embed ID and paste the key shown in Embedding.
- Sync the pipes. In Tables, import the pipe or database with the Pipefy token; connected pipes come along.
Tips
- Set aside a number for Procurement. Suppliers recognize the channel and answer faster.
- Use the synced tables to cross requests and suppliers in Studio, without exporting spreadsheets.
See everything BrainChat adds to Pipefy in BrainChat for Pipefy.