fOSConcepts

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.

ActionFirst callSecond call
Bid on a TIMOCOM or Transporeon loadprepare_exchange_bid stores the bid in the conversationconfirm_exchange_bid with confirmed: true submits it; false drops it
Withdraw a bidwithdraw_bid shows what will be withdrawnThe same tool with confirmed: true
Answer a counter-offerrespond_to_counter_offer shows the termsThe same tool with confirmed: true
Import shipments from a documentextract_shipments_from_document shows the rowsconfirm_shipments_import imports the rows you approved
Open a support casecreate_support_case shows the draftconfirm_support_case submits it

Actions fOS is told to confirm

In the web chat, fOS's instructions require it to ask you before these.

ActionWhat fOS does first
Send an emailDrafts it with gmail_create_draft and asks you to confirm before it sends
Create a calendar eventShows the details and asks you to confirm
Register vehicles from an uploadShows the parsed availabilities in a form to confirm
Use a Google tool set to AskAsks you before it calls the tool

Actions that take effect when called

ActionEffect
message_driverSends the message. A repeated call sends a second one.
report_vehicle_availablePosts the availability. A repeated call posts another.
log_shipper_interactionLogs the interaction and schedules a follow-up
request_direct_offerRecords the offer and returns the contact; nothing is sent to the shipper
escalate_to_humanCreates 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 read scope gets the built-in read tools. The three built-in write tools need write. 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.

On this page