Set up contact agent and appointment agent in SIHub
The contact agent records the name, contact method and concern and prepares a contact, a task and a request in the inbox for your team. Saving happens after consent and human approval. The appointment agent shows your selected Google calendars and checks free times with sufficient gaps. You can create, edit and move appointments directly and delete them after confirmation.
Both agents are available in SIHub under Contact agent & appointment agent as customizable standard templates. You do not need to buy a separate template. Each SIHub workspace connects its own Google accounts; the connection does not take over any calendars from the central AppHub.
The standalone calendar helper at /app/calendar can be used in your own non-demo workspace without operator or workspace AI live approval. The AI appointment agent uses the central operator access for work orders.
Prepare the agents for your business
- Open Contact agent & appointment agent and choose Contact agent or Appointment agent. The template creates an assistant draft with the matching tool. Installing it again opens the existing assistant and keeps your customizations.
- Adapt the greeting, task and required follow-up questions to your business. The contact agent needs a name, topic, message, a contact method and consent to storage and to being contacted.
- Check the central AI access and the matching subscription. The template does not contain its own provider credentials. Provider and billing
- Use the saved agent draft directly for private work orders. These can read real calendar data and require the running background service; write actions still require approval. Work orders and routines
- Connect Google Calendar in the calendar area. After Google authorization, SIHub automatically selects the writable primary calendar; you can add more calendars.
The tools work only within your own SIHub workspace. The contact agent prepares the contact and task for approval. The calendar tool checks availability and suggestions; booking happens in the calendar area with a separate confirmation.
Connect Google Calendar
As an owner or administrator, open Calendar and click Connect Google Calendar. If Google access for SIHub is already set up, you can sign in with Google right away. Allow the requested calendar access in the same browser. SIHub then selects your writable primary calendar for checking free times and for confirmed appointments. With Select more calendars you can change the selection. If Google does not return a writable primary calendar, select at least one calendar yourself.
If Google access is still missing, the wizard guides you through the one-time preparation: select a Google project, enable the Calendar API, set up the consent screen and create an OAuth client with the type Web application selected. The redirect URI shown in the wizard must be entered exactly in the Google web client. Download its JSON file and select it in SIHub. SIHub checks the redirect URI, takes over the client ID and secret, and stores the credentials encrypted for your workspace. The values can also be entered manually if needed. In Google's external testing mode, you must add the intended Google accounts as test users; Google may require app verification later. Google OAuth for web applications, Google Calendar and permissions
The connection is available to the authorized team of your SIHub workspace. Additional Google accounts can be connected in the calendar area. Remove a connection there if your business should no longer use it.
Technical operator option
Shared Google access can be provided via SIHUB_GOOGLE_CLIENT_ID, SIHUB_GOOGLE_CLIENT_SECRET or SIHUB_GOOGLE_CLIENT_SECRET_FILE and SIHUB_GOOGLE_REDIRECT_URI settings. A workspace's own access takes precedence. Customers do not need a server environment file for this. Existing connections are kept when the wizard is reopened; a different client ID requires disconnecting these accounts first.
Google tokens use the existing calendar/provider key, otherwise the persistent SIHub data key. Credentials never belong in an agent prompt. Protected credentials and backup
View and edit calendars
Choose Month, Week or Day, page through with the arrows, or go back with Today to return to the present. The calendar filters show or hide individual calendars. Clicking an appointment opens its details; New appointment or the plus sign on a day creates a new entry. You can edit the title, date, time, all-day status, location and note. Deleting requires a separate confirmation. For recurring appointments, the change affects only the selected occurrence.
The week and day views show a 24-hour grid with an all-day row and the current time. Click a free time slot or drag across several slots to create an appointment there. You can drag writable appointments in the grid to a different time or day. Drag the bottom edge of an appointment to change its end in 30-minute steps; all-day appointments can be extended in the all-day row or, in the month view, at their right edge. The appointment color matches the color of the individual Google event, if set, otherwise the color of its calendar. For exact times and keyboard operation, open the appointment in the dialog.
Calendars with read access show their appointments without editing; free/busy-only shares show only “Busy”. Existing attendees, reminders and Google properties are kept when editing. Changes made in the meantime cause a version conflict instead of an overwrite. Uncertain new entries are checked again with the same ID and the same details. The appointment history is refreshed after editing or deleting.
Direct calendar entries deliberately allow overlapping appointments. Use Check availability, if working hours and buffers should be taken into account. The inbox opens the appointment agent via Check appointment with the details of the respective request. Inbox
Automatically prepare appointment requests from emails
Open Calendar → Email appointment bot. First connect an email inbox in the inbox and select the Google calendars to check. Owners and administrators can then turn on the automatic check and save the appointment rules:
- Minimum gap before and after existing appointments, for example 60 minutes.
- Minimum lead time from the time of the check: 24 hours for one day or 48 hours for two days. The lead time is also checked again before a confirmed booking.
- Typical duration, if the email does not specify a clear duration.
- Work start, work end and weekdays, search period, time zone and number of suggestions. If needed, individual inboxes can be selected.
After activation, newly incoming emails are checked in the background. Emails that were already imported do not trigger a belated flood of notifications. Detection uses wording and time references in the email; it cannot understand every free-form phrasing. Unclear requests appear for clarification. Cancellations, confirmations and newsletters are not treated as new booking requests. If calendar access fails, SIHub shows an error instead of free times.
Under Detected appointment requests you see the result and can open the email or use Review suggestion. The calendar helper applies the appointment rules and checks the free time again. Only your explicit confirmation creates a calendar entry. The appointment agent does not send an automatic reply. After a rule change, you can use Check again to update the request.
Notifications on mobile and desktop
Via Notifications at the top of SIHub, you enable each device you want individually. SIHub asks for browser permission only after you click. Notifications require HTTPS and permission in the browser and operating system. If permission was blocked, SIHub shows a hint about the settings; the application cannot grant this permission itself.
On iPhone and iPad, SIHub must be added to the Home Screen and opened from there; Web Push requires iOS/iPadOS 16.4 or later. WebKit: Web Push for Home Screen web apps
If device permission is enabled, notifications can arrive even when the SIHub app is closed. Whether they are actually displayed depends on browser and system settings. Regardless, messages remain visible in SIHub while you are signed in. The lock screen shows only a general notice, no senders, subject lines or calendar details. Recipients must be active members of the same workspace with edit permissions; permissions are checked again on delivery. Read-only accounts and general API keys do not get access.
Check time slots manually and add an appointment
Enter the desired period, the duration and, if needed, a preferred start time. Working hours and weekdays limit the suggestions. Buffers before and after the appointment reserve time for preparation, follow-up work or travel; these minutes are set manually.
The check combines the busy times of all selected calendars. A free time slot with little gap to the next appointment can be flagged as tight in that case. If times are busy, you get suitable alternatives. A failed calendar query never counts as confirmed availability.
Choose a suggestion, check the date, time, duration, target calendar and appointment details, and explicitly confirm the entry. Before writing, SIHub checks the selected calendars again. A slot that has been taken in the meantime is not booked automatically; a tight slot requires your explicit approval. An appointment request from a conversation can be transferred to the calendar area for preparation.
Limits of the current scope
Google Calendar is the first supported calendar provider. Outlook, CalDAV and other providers require an additional integration. Travel times are based on your manual buffers; route calculation is not included. The public contact agent on the SIHub website records requests and does not book appointments on its own.
The calendar check is a query at a specific point in time. An external change right after this check can still cause a conflict. The Google booking is therefore shown as the actual result; if the provider response is unclear, the entry is not blindly retried.
APIs for setup
GET /api/bot-templates returns the standard templates and the assistants already installed in your own workspace. POST /api/bot-templates/contact/install or POST /api/bot-templates/calendar/install creates the respective draft once, including the assigned tool. Installation requires at least edit permissions; browser actions require a CSRF token.
The contact agent uses the tool native_contact_capture. It prepares the contact action that requires approval. The appointment agent uses native_calendar_check for a real read-only calendar check. Both run through the existing work orders and approvals; the templates start with the test provider until you configure your real provider.
The OAuth redirect URI is /api/calendar/oauth/callback. Connections and selection are bound to the workspace, booking drafts additionally to the signed-in user. The interface uses /app/calendar; a conversation can be passed with /app/calendar?conversation_id=… as a starting point.