How To Create Workflow - Practical Example: Automated HR Meeting Handoff
This guide details how to build a robust four-step workflow (On Start 1 → Human 1 → Ask AI 1 → Action in App 1) to automate the approval, summarization, and internal communication for scheduling a new client meeting.Initialize the Request (On Start 1)
The On Start 1 node is the application’s entry point, where you provide the initial meeting data.
- Access Configuration: Select the On Start 1 node
- Input Data (Instructions Field): Enter the meeting details as simple, clear text:
This data is stored as the variable
{{on_start_1.startingInputData}}Manager Approval Gate (Human 1)
The Human 1 node pauses the workflow and requires a manager’s explicit approval before proceeding.
After configuring these two switches, your Human 1 node will have two clear output paths—Yes and No—giving you complete control over the workflow logic.
- Connect Nodes: Link the output of On Start 1 to Human 1
- Contact Person: Set the reviewer’s email:
[email protected] - Request Message: Include the raw data for review using the variable:
“A new customer request has been received. {{on_start_1.startingInputData}}. Do you approve processing this request?”
- Configure Switches (Branching Logic):
| Switch | Path | Output Handle | Instructions |
|---|---|---|---|
| Switch 1 | The ‘Yes’ Path (Approval) - Leads to LLM processing | Enter Yes | If the human message contains ‘Approve’ or ‘Yes’, route here |
| Switch 2 | The ‘No’ Path (Denial) - For rejection handling | Enter No | If the human message contains ‘Deny’ or ‘No’, route here |
AI Processing and Summarization (Ask AI 1)
The Ask AI 1 node ensures HR receives a professional, concise summary of the approved request. This node executes only after the ‘Yes’ path is followed.
- Connect Nodes: Link the Yes output of Human 1 to Ask AI 1
- Prompt for AI (System Instruction): Define the AI’s role:
The AI’s summary is stored as the variable
{{llm_1.response}}Automated HR Handoff (Action in App 1)
The final Action in App 1 node sends the notification email to the HR contact, utilizing the AI’s summary.This instruction uses the LLM’s summary to build a professional, concise email.
- Connect Nodes: Link the output of Ask AI 1 to Action in App 1
- Action: Ensure the node is configured for Gmail: Send Email
- Select Method: Choose the Fill by AI tab
- Instructions: Write the instructions to generate the final email:
This completes your robust, four-step workflow for the HR Meeting Handoff!
