> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Create job

> Create a job in a JobNimbus workflow.

`jobNimbus.createJob` create a job in a JobNimbus workflow.

```ts automations/jobnimbus-create-job.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { jobNimbus } from "automate.ax/jobnimbus"

export default automation("Create job", () => {
  onDashboardRun({ title: "Create job" })
  jobNimbus.createJob({
    name: "Roof replacement",
    primary: { id: "contact-id" },
    recordTypeName: "Retail",
    statusName: "Lead",
  })
})
```

## Inputs

Provide `name`, `recordTypeName`, and `statusName`. Add `primary` to relate a contact, plus optional address, workflow, owner, tag, and custom fields. Optional second argument `{ account }` selects a named JobNimbus binding.

## Output

Returns the created `JobNimbusJob`.
