Use Pia Actions with Inline Tools
With inline tools, you expand the text instructions (prompts) of your AI agent Pia with functional interfaces to the PASCOM phone system and external services. Instead of describing actions purely in text, you insert structured interactive building blocks directly into your prompt.
Access Inline Tools in the Prompt Editor
1. Forward to Team
This action seamlessly transfers the conversation from Pia to an internal queue or team.
Selection: Select
/teamand specify the target team (e.g.,/team:Supportor/team:Sales).How it works: When Pia identifies during the conversation that the caller's request matches the defined team, she ends the AI dialog and connects the call to the team.
If you cannot clearly identify the inquiry after asking twice,
inform the caller politely and forward them to /team:Zentrale.2. Set and Read Labels
Labels serve as structured data containers in PASCOM. They attach important information directly to the call, allowing employees in the PASCOM app to see the context immediately.
Pia can utilize labels in two ways:
Populate Labels (Write)
Status information: Pia assigns the call to a category (e.g., label
SupportorSales).Enrich with custom data: Pia requests specific details from the caller and stores the text content in the label (e.g., label
Customer Number: 10482orIssue: PC does not start).
Example prompt instruction:
Read Labels (Read)
Pia can evaluate existing labels from the preceding call history.
For example, if a caller presses 1 for Prescription orders in an upstream IVR menu, the label Prescription is automatically attached to the call. Pia reads this label at the beginning of the dialog and greets the patient with specific context:
"Hello! I see you would like to order a prescription. Which medication do you need?"
3. Use Caller Context
Through caller context, Pia accesses caller master data in real time. If the PASCOM phone system recognizes the telephone number in the central phonebook, all contact details become available to Pia as variables.
Available Context Fields Overview
Caller Number (Anrufernummer)
Provided directly by the PASCOM trunk. Always available, even if the caller is not in the phonebook.
Identification and logging: "I have recorded your phone number /Anrufernummer."
Caller Name (Anrufername)
Originates from the phonebook. Contains the full name.
Greeting known customers: "Hello Mr. /Anrufername."
First Name / Last Name (Vorname / Nachname)
Separate name fields from the phonebook.
For natural salutations: "Hello Ms. /Nachname."
Display Name (Anzeigename)
The formatted contact name in the PASCOM system.
Clear presentation in dialog transcripts.
Organization (Organisation)
Company or client name from the phonebook.
Personalized greeting for corporate clients: "Are you calling regarding /Organisation?"
Email (E-Mail)
Email address saved in the phonebook.
Verification for callbacks or confirmations: "Should we send the confirmation to /E-Mail?"
Notes (Notizen)
Free-text contact notes from the phonebook.
Taking specific customer requirements into account.
Inbound Rule (Eingehende Regel)
Name of the dialed inbound rule in PASCOM (e.g., Service-Hotline or Zentrale-DE).
Enables Pia to recognize which line the call arrived on.
4. Schedule Appointment (Microsoft 365 Calendar)
With the /Termin vereinbaren action, Pia schedules appointments autonomously in a connected Microsoft 365 calendar. Pia checks available time slots in real time, offers options to the caller, and books the confirmed appointment.
Prerequisite
Before use, an administrator must set up a Microsoft 365 Calendar connector under Settings > Connector and authenticate it via a Microsoft 365 account. This connector is then automatically provided to Pia. (The guide for setting up the Microsoft 365 calendar can be found here: Calendar from Microsoft 365)
Configure Calendar Settings
Overview of Calendar Configuration for Pia

Calendar (Kalender)
Selection of the Microsoft 365 target calendar (e.g., personal calendar or shared team calendar).
Support Calendar or Dr. Miller
Meeting Duration (Termindauer)
Fixed duration of the booked appointment slot.
30 minutes
Buffer Time (Pufferzeit)
Break between consecutive appointments to prevent overlaps.
15 minutes
Number of Slot Suggestions (Anzahl Terminvorschläge)
Maximum number of open appointment slots Pia offers to the caller at once.
3 suggestions
Minimum Lead Time (Mindestvorlaufzeit)
Minimum hours or days required between the call and the earliest available slot (prevents unprepared surprise bookings).
2 hours or 24 hours
Max. Booking Horizon (Max. Buchungshorizont)
How far into the future appointments can be scheduled.
14 days
Availability Hours (Verfügbarkeitszeiten)
Time windows when bookings are generally permitted (e.g., during office hours only).
Business hours
Absence Calendar (Abwesenheitskalender)
Specifies which sub-calendar is checked for vacation, holidays, or closing times so that no appointments are offered on those days.
Vacation / Absence
Practical Example: Complete Prompt with Inline Tools
The following example demonstrates how the different inline tools work together in a production prompt:
Last updated
Was this helpful?



