# Application pipeline (/blocks/application-pipeline)

## Try it [#try-it]

Sam has finished a screening call. Open the stage picker beside Engineering Director and choose **Screened**.

## Connect your data [#connect-your-data]

Pass the candidate’s name, [photo](/api/reference/objects/candidate#photo-url) and [profile banner](/api/reference/objects/candidate#banner-url) in `profile`. When the candidate has no banner, Recruit UI picks the same cover for them throughout the workflow.

Give `ApplicationPipelineBlock` the roles the candidate is on and the stages you allow. Send the application ID, its current version and the selected stage to [moveJobCandidate](/api/reference/mutations/move-job-candidate).

See this block in the [placement walkthrough](/workflows/headless-ats). The preview uses sample data and resets on reload.
## Build prompt
Move a candidate through screening for a specific job.
Use the React source and fictional records at https://docs.kith.contact/blocks/application-pipeline.md.
Build a working preview with sample data. Keep my changes local for now.
If you cannot fetch the page, ask me to paste its Markdown.
## React source
```tsx
"use client";

import { useState } from "react";
import { ApplicationPipelineBlock } from "@recruiteros/recruit-ui/blocks";

const options = [
  { value: "SOURCED", label: "Sourced" },
  { value: "SCREENED", label: "Screened" },
];

export function ApplicationPipelineExample() {
  const [stage, setStage] = useState("SOURCED");
  return <ApplicationPipelineBlock
    profile={{ name: "Sam Lindqvist", photoUrl: "/people/sam-lindqvist.jpg" }}
    title="Applications"
    rows={[{
      id: "sam-engineering-director",
      title: "Engineering Director",
      subtitle: "Example Studio",
      stage: { value: stage, options, onChange: setStage },
    }]}
  />;
}
```