What you will learn
- Ask an agent to query a specific calendar accessible to the authorized Feishu account.
- List meeting names, start times, and end times for a specified date and time zone.
- Identify overlaps among the retrieved events.
- Reuse the existing connection with other appropriately configured agents in the same workspace.
Before you begin
An administrator usually prepares the runtime environment. Everyday users only need to describe their query in the agent’s chat.
This tutorial uses a shared team connection in a workspace. Queries use the Feishu account authorized for that connector; they do not automatically switch to the personal account of whoever asks the question. Before the first query, confirm whose account you will use and which calendar you will query.
Step 1: Connect a Feishu account
Open Workspace → Connectors, find the Feishu card, and select Connect. The initial connection has two stages: app authorization and user authorization.Complete app authorization
- Scan the code or sign in on the Feishu authorization page that opens.
- Complete the app setup and confirm authorization as prompted by the platform.
- Return to Xpert to check the connection status.
Complete user authorization
- If the authorization page does not advance to the next stage, return to the Feishu connector card and select Continue authorization.
- Confirm user authorization with the account you intend to use for calendar queries.
- Wait for the connection status in Xpert to change to Connected.
- Open the connection details and check the connected account.
Step 2: Configure the Feishu connector for your agent
After connecting the account, configure the agent that will perform the task to load the Feishu capabilities. If an administrator has already done this, continue to the next step.- Open the target agent’s Studio / orchestration page.
- From the canvas add menu, select Add middleware → Connector.
- Select Feishu in the middleware’s Connector field.
- Associate the middleware with the agent node that will execute the task.
- Configure a working sandbox and the Sandbox Shell tool for the same agent.
- Save and publish the agent, then open its chat page.
Step 3: Specify the date, time zone, and calendar
Specify these three details before querying so you can verify the result:
The following steps use September 25, 2026 as an example. Replace it and the calendar name with the date and calendar you want to query.
If several calendars have the same name, ask an administrator for the exact calendar identifier. If the agent cannot determine the intended calendar, it should confirm the scope before querying.
Step 4: Query events and build a timetable
Send the following request in the configured agent’s chat:Example result
Suppose the test calendar contains these three events. The result could look like this: Query scope: September 25, 2026, Asia/Shanghai, “Connector Test Calendar”.
Conflict: The product team meeting and client proposal discussion overlap from 09:30 to 10:00, a total of 30 minutes.
This is sample data illustrating the output format. It does not mean that your calendar has already been queried.
Interpret the conflict results
Overlaps are determined from the start and end times of the retrieved events. For example, 09:00–10:00 overlaps with 09:30–10:30. An event from 09:00–10:00 followed by one from 10:00–11:00 is back-to-back, with no time overlap. All-day events and events spanning multiple days should be labeled separately. Consider the nature of each event when deciding whether it affects your availability. If an event only exposes free/busy information, the result should preserve that limitation without guessing its title or details. “No conflicts found” applies only to the calendars and events successfully retrieved in this query. It does not rule out conflicts with calendars you did not query or events you cannot access.Step 5: Organize your day from the results
After receiving the timetable, you can ask for a summary:Verify the query results
Start with a test calendar. Ask someone with the required permissions to create these three test events manually in Feishu, then run the query. Preparing test data and asking the agent to query it are separate steps.
Check that:
- The queried account and calendar match those used to prepare the test events.
- The date and time zone are correct, and start and end times match what you see in Feishu.
- All three events appear, without omissions or duplicates.
- The two morning meetings overlap from 09:30 to 10:00.
- The afternoon meeting is not incorrectly marked as conflicting with the morning meetings.
- Events in Feishu remain unchanged, with no new invitations or modifications.