Quick overview
This workflow creates a TruGen.ai interview agent from a pasted job description, saves the agent and interview link to Google Sheets, then receives call-ended webhook to fetch the interview transcript, analyze it with OpenAI, and log structured candidate evaluation results back to Google Sheets.
How it works
- Starts manually to initialize setup with your job description.
- Creates a custom TruGen.ai interview agent using the job description, welcome message, and system prompt, and sets a callback URL for call-ended events.
- Stores the created TruGen.ai agent ID and interview link and appends them to a Google Sheets “Interview Agents” worksheet.
- Receives a POST webhook callback when an interview call ends.
- Fetches the completed conversation details and transcript from TruGen.ai.
- Sends the transcript to OpenAI (GPT-4o-mini) to generate a strict-JSON hiring assessment with scores, strengths, concerns, and next steps.
- Formats the assessment into spreadsheet columns and appends the results to a Google Sheets “Interview Results” worksheet.
Setup
- Create and connect a TruGen.ai API credential, then update the agent creation step with your public webhook callback URL and ensure the callback event is set to call_ended.
- Add an OpenAI API credential for the interview evaluation step.
- Connect a Google Sheets OAuth credential and select your spreadsheet and the two worksheets used for “Interview Agents” and “Interview Results” (with matching column headers).
Requirements