> ## 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.

# Update source

> Update operational settings for a CloseBot source.

`closeBot.updateSource` changes messaging, access, availability, and web-script settings. Omitted fields remain unchanged.

```ts automations/update-closebot-source.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { closeBot } from "automate.ax/closebot"

export default automation("Update CloseBot source", () => {
  onDashboardRun({ title: "Update CloseBot source" })

  closeBot.updateSource({
    sourceId: "source-id",
    summarizeAttachments: false,
    respondToReactions: true,
  })
})
```

## Inputs

Provide `sourceId` and at least one setting. Supported fields cover name, account access, messaging behavior, response windows, quiet hours, timezone, webhook callback, script domains, and HubSpot owner.

## Output

Returns the updated source.
