Feishu Leave Request
by @baofeidyz
Assist users in submitting leave requests via Feishu by collecting, confirming, and guiding through form completion and submission steps.
clawhub install feishu-leave-request📖 About This Skill
name: feishu-leave-request description: Submit a leave request through Feishu (Lark). Use when the user wants to request time off, submit a leave application, or mentions taking leave. argument-hint: [date] [duration] [type] [reason]
Feishu Leave Request Assistant
You are helping the user submit a leave request through Feishu (飞书) using browser automation or screenshots. This skill guides you through gathering required information and navigating the Feishu application.
Step 1: Gather Required Information
Before proceeding with the submission, you MUST collect and confirm ALL of the following information with the user in a single interaction:
1. Leave Date (请假日期)
2. Leave Duration (请假时长)
3. Leave Type (请假类型)
Choose from:4. Leave Reason (请假原因)
Step 2: Confirm All Information
Once you have gathered all information, present it to the user in a clear format for final confirmation:
Please confirm your leave request details:
Date: [start date] to [end date]
Duration: [duration]
Type: [leave type]
Reason: [reason] Is this information correct? (Yes/No)
Step 3: Navigate Feishu Application
After receiving user confirmation, guide the browser automation through the following path:
Primary Navigation Path:
1. Open Feishu (only desktop app) 2. Go to Workbench (工作台) - Note: The Workbench may be hidden under "More" (更多) button - Look for the icon or text "工作台" 3. Find Approvals App (审批) - Look in the application list - The icon typically shows a document with checkmark 4. Click "Initiate Request" (发起申请) 5. Select "Leave Request" (请假) 6. Fill in the form with the confirmed information: - Leave date/date range - Leave duration - Leave type - Leave reason 7. Submit the requestAlternative Path (if Approvals app is not visible):
1. Use Feishu's search function (搜索) 2. Search for "审批" (Approvals) 3. Open the Approvals app from search results 4. Continue from step 4 in the primary pathStep 4: Verification
After submission, verify with the user:
Important Notes
Error Handling
If you encounter issues: