Lark Approval to Calendar via AnyCross
The most thoroughly documented OctaFlow workflow is absence management. An approval fans out to a calendar event and a team notification in one workflow.
- Trigger. Lark Approval — approved instance of the Absence Request form. AnyCross listens for the final approval event.
- Action 1. Lark Calendar — AnyCross creates an event in the shared "Team Absences" calendar, mapping form fields (start date, return date, absence type) to event fields.
- Action 2 (recommended). Lark Messenger — sends a confirmation message to the team channel with the absence details.
Sick leave requests should not expose the absence type to the rest of the team. Configure the Calendar action title field with:
IF([Absence type] = "Sick leave", [Person] + " — Out of office", [Person] + " — " + [Absence type])- Create the shared "Team Absences" calendar in Lark Calendar (left menu → + next to "My calendars" → New calendar).
- Open calendar settings: three dots → Settings → Sharing.
- Assign "can edit" to Fran (HR admin) and the AnyCross service identity.
- Assign "can view" to the rest of the team.
Without this step, AnyCross runs the workflow with no visible error but creates no events. Verify with a test event and review the run history in AnyCross.
Source: lark-calendar-module_LarkExpert_v1.0.md, Section 3 Pattern 1, and anycross-module_LarkExpert_v1.0.md, Recipe HR-01.