Approvals and safeguards
Which fOS actions wait for your approval and how, which take effect at once, what external assistants may call, and how fOS stays inside your organization.
Some fOS tools change data or reach other people. Some of them are built in two steps, some fOS is instructed to confirm with you first, and some take effect when they are called. This page lists which is which.
How it works
Two-step actions
The first call only prepares the action and shows it to you. A second call carries it out: it
needs confirmed: true, and a bid also needs one prepared first. fOS is instructed to make the
second call only after you approve. These tools do not check that you replied in between.
| Action | First call | Second call |
|---|---|---|
| Bid on a TIMOCOM or Transporeon load | prepare_exchange_bid stores the bid in the conversation | confirm_exchange_bid with confirmed: true submits it; false drops it |
| Withdraw a bid | withdraw_bid shows what will be withdrawn | The same tool with confirmed: true |
| Answer a counter-offer | respond_to_counter_offer shows the terms | The same tool with confirmed: true |
| Import shipments from a document | extract_shipments_from_document shows the rows | confirm_shipments_import imports the rows you approved |
| Open a support case | create_support_case shows the draft | confirm_support_case submits it |
Actions fOS is told to confirm
In the web chat, fOS's instructions require it to ask you before these.
| Action | What fOS does first |
|---|---|
| Send an email | Drafts it with gmail_create_draft and asks you to confirm before it sends |
| Create a calendar event | Shows the details and asks you to confirm |
| Register vehicles from an upload | Shows the parsed availabilities in a form to confirm |
| Use a Google tool set to Ask | Asks you before it calls the tool |
Actions that take effect when called
| Action | Effect |
|---|---|
message_driver | Sends the message. A repeated call sends a second one. |
report_vehicle_available | Posts the availability. A repeated call posts another. |
log_shipper_interaction | Logs the interaction and schedules a follow-up |
request_direct_offer | Records the offer and returns the contact; nothing is sent to the shipper |
escalate_to_human | Creates a follow-up for a dispatcher, and texts the user who started the call if their profile has a phone number |
When confirm_win awards a chain, the award creates the platform fee for the committed leg (see Booking). Tell fOS
a load is won only when it is.
What affects the result
- Tool permissions. Each Google tool is Allow, Ask or Deny in the integration's Tool permissions. Without a stored choice it is Ask; without the Google scopes it needs it is Deny. A denied tool is not offered to fOS on any surface.
- Scopes for external assistants. An assistant with the
readscope gets the built-in read tools. The three built-in write tools needwrite. Exchange bids, withdrawals and counter-offers are not offered to external assistants at all. See Agent API. - Your organization. Every tool works on the organization in context. An external assistant can switch only to an organization you belong to. The bot signs a conversation in as a carrier company by VAT number and a code sent by email, and stops accepting codes after 5 wrong ones.
Phone calls
On an outbound call, fOS works between the opening rate and the floor you set. Its instructions
tell it to check each counter-offer with check_rate_margin and never to say the floor. Without a
valid floor, no rate counts as acceptable. When the call goes beyond what it may decide, fOS
escalates to a dispatcher. The call form states that the assistant discloses its identity and
that the call is recorded.
Limits
- The composer toggle. The choice between Ask before acting and Act automatically is not sent with your message, so it changes nothing.