Sit with my team
Find and book a desk near your manager or teammates.
Prompt
Build me a live "Sit with my team" page as an artifact using our design system. The page should call the Robin Workplace connector itself, with my permission, so it stays current and can book desks for me. Give it the mcp capability for my Robin connector, using the connector's exact display name from my connector list (for example "Robin (Workplace)"), with only these tools: get_current_user_info, find_people, get_user_desk_reservations, find_available_desks, find_desks, check_desk_availability, book_desk. What the page does 1. On load, get my Robin profile and today's date from get_current_user_info. Use that date for "this week", never an assumed one. 2. Work out my team with find_people. Offer three choices: my manager's team (my manager plus everyone who reports to them), my own reports, or people I pick by searching names. Cap the list at 20 people. 3. Show a week grid for this week or next week (Monday to Friday): one row per person with me first, one column per day, and in each cell the building and floor they are booked on (from get_user_desk_reservations), colored by floor. Column headers show how many teammates are in that day. Selecting a column picks the day. 4. For the chosen day, list the floors my teammates are on, most teammates first, with who is there and at which desk. 5. "Find desks near them" on a floor calls find_available_desks for 9:00 to 5:00 in that building's time zone, and find_desks once per floor to learn which pod each teammate's desk is in. Group open desks by pod, with the pods where my teammates sit first and highlighted. 6. Picking a desk shows a confirm row. "Book desk" runs check_desk_availability first and books only if it says the desk is bookable, using its bookAs value as the reservation type in book_desk. If it is not bookable, show the reason Robin gives. After a booking, refresh my row in the grid. Rules - Never book without my click on "Book desk", and never retry a booking automatically. If a booking call fails in a way that leaves the outcome unclear, tell me to check my bookings before trying again. - Handle connector problems with specific messages: reconnect Robin, add the connector, allow it for this page, or try again later. - When the connector isn't available (for example in a preview), show a clearly labeled example team with made-up names so the page still makes sense, and disable real booking. - Show only what Robin already shows people about who's in. Do not save anyone's bookings into the page.
