Orkes logo image
Product
Platform
Orkes Platform thumbnail
Orkes Platform
Orkes Agentic Workflows
Orkes Conductor Vs Conductor OSS thumbnail
Orkes vs. Conductor OSS
Orkes Cloud
How Orkes Powers Boat Thumbnail
How Orkes Powers BOAT
Try enterprise Orkes Cloud for free
Enjoy a free 14-day trial with all enterprise features
Start for free
Capabilities
Microservices Workflow Orchestration icon
Microservices Workflow Orchestration
Enable faster development cycles, easier maintenance, and improved user experiences.
Realtime API Orchestration icon
Realtime API Orchestration
Enable faster development cycles, easier maintenance, and improved user experiences.
Event Driven Architecture icon
Event Driven Architecture
Create durable workflows that promote modularity, flexibility, and responsiveness.
Human Workflow Orchestration icon
Human Workflow Orchestration
Seamlessly insert humans in the loop of complex workflows.
Process orchestration icon
Process Orchestration
Visualize end-to-end business processes, connect people, processes and systems, and monitor performance to resolve issues in real-time
Use Cases
By Industry
Financial Services icon
Financial Services
Secure and comprehensive workflow orchestration for financial services
Media and Entertainment icon
Media and Entertainment
Enterprise grade workflow orchestration for your media pipelines
Telecommunications icon
Telecommunications
Future proof your workflow management with workflow orchestration
Healthcare icon
Healthcare
Revolutionize and expedite patient care with workflow orchestration for healthcare
Shipping and logistics icon
Shipping and Logistics
Reinforce your inventory management with durable execution and long running workflows
Software icon
Software
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean leo mauris, laoreet interdum sodales a, mollis nec enim.
Docs
Developers
Learn
Blog
Explore our blog for insights into the latest trends in workflow orchestration, real-world use cases, and updates on how our solutions are transforming industries.
Read blogs
Check out our latest blog:
Conductor CLI Guide: Register, Run, Retry, and Recover Durable Workflows Without Leaving Your Terminal 💻
Customers
Discover how leading companies are using Orkes to accelerate development, streamline operations, and achieve remarkable results.
Read case studies
Our latest case study:
Twilio Case Study Thumbnail
Orkes Academy New!
Master workflow orchestration with hands-on labs, structured learning paths, and certification. Build production-ready workflows from fundamentals to Agentic AI.
Explore courses
Featured course:
Orkes Academy Thumbnail
Events icon
Events
Videos icons
Videos
In the news icon
In the News
Whitepapers icon
Whitepapers
About us icon
About Us
Pricing
Get a demo
Signup
Slack FaviconDiscourse Logo icon
Get a demo
Signup
Slack FaviconDiscourse Logo icon
Orkes logo image

Company

Platform
Careers
HIRING!
Partners
About Us
Legal Hub
Security

Product

Cloud
Platform
Support

Community

Docs
Blogs
Events

Use Cases

Microservices Workflow Orchestration
Realtime API Orchestration
Event Driven Architecture
Agentic Workflows
Human Workflow Orchestration
Process Orchestration

Compare

Orkes vs Camunda
Orkes vs BPMN
Orkes vs LangChain
Orkes vs Temporal
Twitter or X Socials linkLinkedIn Socials linkYouTube Socials linkSlack Socials linkGithub Socials linkFacebook iconInstagram iconTik Tok icon
© 2026 Orkes. All Rights Reserved.
Back to Blogs

Table of Contents

Share on:Share on LinkedInShare on FacebookShare on Twitter
Worker Code Illustration

Get Started for Free with Dev Edition

Signup
Back to Blogs
AGENTIC SOLUTIONS

Building an Agentic Workflow: Orchestrating a Multi-Step Software Engineering Interview

Riza Farheen
Riza Farheen
Developer Advocate
Last updated: April 21, 2025
April 21, 2025
8 min read

Related Blogs

Tame Your Agent: Build a Secure, Contained Customer Success AI Agent

Jun 17, 2025

Tame Your Agent: Build a Secure, Contained Customer Success AI Agent

Building Agentic Workflows with Conductor: Implementation Guide

Apr 9, 2025

Building Agentic Workflows with Conductor: Implementation Guide

Conductor CLI Guide: Register, Run, Retry, and Recover Durable Workflows Without Leaving Your Terminal 💻

Mar 24, 2026

Conductor CLI Guide: Register, Run, Retry, and Recover Durable Workflows Without Leaving Your Terminal 💻

Ready to Build Something Amazing?

Join thousands of developers building the future with Orkes.

Start for free

As language models evolve, so does the way we build intelligent systems. One emerging pattern is the agentic workflow—a coordinated sequence of tasks in which an AI agent interacts with external tools and APIs, makes decisions, and executes complex flows autonomously.

But intelligence alone isn’t enough. Large language models excel at reasoning and response generation, yet they fall short when it comes to real-world execution. Managing state, coordinating asynchronous tasks, handling tool invocation, and ensuring reliability across multiple steps remain key challenges. That’s where orchestration comes in.

By combining LLMs with a robust workflow engine, we can design resilient, multi-step systems that bridge reasoning with action. In this guide, we’ll walk through an agentic workflow that automates a full software engineering technical interview—from candidate intake to interview questions, evaluation, and report delivery.

Example: Agentic interview app

Let’s build an application that mimics a human-led coding interview, where:

  1. The candidate enters their details.
  2. An LLM agent conducts the interview by generating a series of leetcode-style programming questions, which the candidate responds to in a sequence.
  3. The agent scores answers and provides feedback.
  4. A formatted transcript of the interview is generated.
  5. A final report is emailed to the candidate.

This multi-step process involves reasoning (via OpenAI), external tools (Google Docs and SendGrid), and orchestration (Orkes Conductor).

To build it, we’ll use the following components:

Agentic Interview App flow

Agentic Interview App flow
  • Frontend (Next.js)–Provides the user interface for candidate interaction. It captures user input (name, language, email) and streamlines the interview conversation.
  • Backend (Python)–Acts as the trigger point for the workflow. It starts the Conductor workflow and serves as middleware to process frontend user input to the backend.
  • OpenAI–Provides the reasoning layer. Generates questions, interprets responses, and guides the flow through hints and feedback.
  • Google Cloud (Docs API)–Generates and formats the interview transcript as a sharable document.
  • SendGrid–Send the final report and feedback to the candidate via email.
  • Orkes Conductor–Orchestrates the entire workflow: managing state, coordinating tasks, handling API integrations and logic.

Now, let’s walk through how these tools come together to form the agentic interview application.

Building an agentic interview app

You can follow this tutorial using the free Developer Edition. Create an account to get started.

We’ll build an interview app powered by the following Conductor workflow:

Interview Agentic Workflow

Interview Agentic Workflow in Orkes Conductor

After gathering the candidate details, the interview will begin. Conductor’s Start Workflow task then starts the Core Interview Loop workflow and generates a coding question using OpenAI. It then enters a loop to collect and evaluate the candidate’s responses (with support for hints or simplifications), finally scoring the answer and storing a structured evaluation as a scorecard.

Core Interview Loop Workflow

Core Interview Loop Workflow in Orkes Conductor

Now, here’s how you can create an agentic interview application on your own.

Step 1: Clone the repository

The source code for this example project is available in this GitHub repository. Clone it to your local machine:

shell
git clone https://github.com/conductor-oss/awesome-conductor-apps/

Open the project and navigate to the interview app folder:

shell
cd python/interview_agentic_app

Step 2: Get credentials and set up environment variables

This application interacts with multiple tools and APIs. You’ll need to configure a few credentials before running it locally.

Access key and secret from Conductor

Get the access key and secret from Developer Edition by creating a new application from Access Control > Applications. Set the Application role to Worker and Metadata API.

Generate the access key and secret.

Generating access key and secret from Conductor

Generating access key and secret from Orkes Conductor

Open your project in the IDE of your choice and set the following environment variables:

shell
export CONDUCTOR_SERVER_URL=https://developer.orkescloud.com/api
export CONDUCTOR_AUTH_KEY=<YOUR_CONDUCTOR_AUTH_KEY>
export CONDUCTOR_AUTH_SECRET=<YOUR_CONDUCTOR_AUTH_SECRET>

OpenAI API key

Generate your API key from the OpenAI platform, then set the environment variable:

shell
export OPENAI_API_KEY=<YOUR_OPENAI_KEY>

Google authentication credentials

Google authentication credentials are required to access Google APIs. Ensure Google Docs API is enabled on your GCP project.

Create a service account in your Google Cloud console and download the JSON key file. It will be named something like project-name.json.

Creating service account key from GCP project

Creating service account key from GCP console

Next, we need to stringify the contents of the JSON file using the following command:

python
python3 -c 'import json; print(json.dumps(json.load(open("<PATH-TO-JSON-FILE>/project-name.json"))))'

Copy the output (the stringified JSON), then set the environment variables:

shell
export GOOGLE_SERVICE_ACCOUNT_JSON='<PASTE_THE_STRING_HERE>'
export ENV=prod

SendGrid API key

SendGrid automatically sends the final interview summary and feedback to the candidate via email.

Start by creating an account on SendGrid, then create and verify the sender email address. Next, generate an API key from SendGrid.

Generating API key from SendGrid

Generating API key from SendGrid

Now, set the environment variable for your API Key:

shell
export SEND_GRID_API_KEY=<YOUR_SEND_GRID_API_KEY>

Then, set the environment variable for your verified sender email:

shell
export SEND_GRID_EMAIL_ADDRESS=<YOUR_SEND_GRID_VERIFIED_EMAIL_ADDRESS>

Finally, update your workflow JSON to use this sender email. Navigate to python/interview_agentic_app/resources/interviewAgenticWorkflow.json file.

  • Go to line 878 and replace the from.email value:
json
//workflow JSON

 "from": {
                  "email": "<SENDGRID_VERIFIED_SENDER_EMAIL>" //Line 878
                },
                "subject": "Thank you ${workflow.variables.name} for interviewing with Orkes",
  • Go to line 996 and replace the from.email value:
json
//workflow JSON 
                "from": {
                  "email": "<SENDGRID_VERIFIED_SENDER_EMAIL>" //Line 996
                },
                "subject": "Thank you ${workflow.variables.name} for interviewing with Orkes",

Step 3: Start the backend server

This step launches the Python-based backend that listens for incoming requests and triggers the Conductor workflow.

Set the Python path:

python
export PYTHONPATH=/[PATH_TO_REPO]/awesome-conductor-apps/python/interview_agentic_app

Create and activate a virtual environment:

python
python3 -m venv venv
source venv/bin/activate

Install required dependencies:

python
pip3 install -r requirements.txt

Start the backend server:

python
cd workflow
python app.py

Step 4: Start the frontend server

This starts the Next.js frontend, where candidates can enter their details and take the interview in an interactive chat UI.

Open a new terminal and navigate to your project:

shell
cd python/interview_agentic_app

Next, navigate to the frontend directory:

shell
cd interview-chat

Install dependencies:

shell
npm install --legacy-peer-deps

Start the frontend server:

shell
npm run dev

The app should now be running locally.

Step 5: View the interview app in action

To start the interview, open it in your browser at http://localhost:3000, this launches the interview experience locally.

Agentic Interview App in Action

Agentic Interview App UI

In your Developer Edition, you’ll notice that the required OpenAI integration, AI prompts, and workflow definitions are automatically created.

Resources created in Developer Edition

Resources created in Developer Edition

As the candidate proceeds, the Interview Agentic Workflow is triggered. Each interview question is handled by a separate workflow, Core Interview Loop. So, for a three-question interview, three workflows run in sequence using Conductor’s Start Workflow task.

Workflows triggered in Developer Edition

Triggered workflows in Developer Edition

Once the interview is complete, a thank you email with personalized feedback and scores is instantly sent to the candidate via SendGrid API.

Thank you email triggered on completing interview

Thank you email triggered via SendGrid on interview completion

In parallel, a fully formatted Google Docs transcript is generated and stored in Google Drive. The interviewer and candidate are granted access, and a link is shared in another email.

Interview transcript generated

Interview transcript generated and stored in Google Docs

That’s it—you’ve now built a fully automated coding interview for a Software Engineer, from candidate intake to evaluation and reporting.

With the core workflow in place, you can easily tailor it to your own needs: customize the prompts, add more questions, or plug it into tools of your choice.

This agentic interview app isn’t just for demos—it’s built for production. You can deploy the backend on platforms like Render and the frontend on Vercel, with your Conductor workflows running in the Orkes Cloud.

What next?

Now that you’ve built and tested your agentic interview workflow, here are a few ways you can take it further:

  • Add a progress tracker–Show candidates how they’re doing after each question to make the experience more engaging.
  • Plug into ATS or HRIS–Send the final report straight to your ATS or HR dashboard for easier review.
  • Extend beyond coding–Replace coding questions with behavioral prompts or design discussions to adapt the workflow for non-technical interviews.

Wrapping up

This tutorial walked you through building a complete agentic workflow—one that goes beyond single-shot prompts to orchestrate a real-world, multi-step interview process. Using OpenAI for reasoning, Google Docs for formatting, SendGrid for communication, a modern frontend and backend stack, and Orkes Conductor at the core, you now have a robust foundation for deploying agentic workflows in production.

Whether you’re building technical assessments, onboarding flows, or multi-agent decision systems, Conductor gives you the structure to scale—with full control over inputs, logic, and integrations.

Explore more AI-powered workflows built with Conductor

  • Agentic cybersecurity monitoring system
  • Article summarizer
  • AI-powered document classification system
  • Retrieval augmented generation (RAG) system
  • Multilingual translation with LLMs

Try building and running your first agentic workflow using the free Developer Edition. Drop by our Slack community and show us what you’ve built.