Skip to main content
The Notify Webhook action can start an AI agent. When a client signs or accepts a document, DocsAutomator sends the event to your agent, and the agent continues the work. For example, it updates your CRM, writes a note or files the signed PDF. You do not need to open a chat. Two agents are built in:
  • Claude scheduled task: a Claude Code scheduled task with an API trigger. Scheduled tasks are available on the Claude Pro, Max, Ultra, Team and Enterprise plans.
  • ChatGPT agent: a ChatGPT workspace agent with an API channel. Workspace agents are available on ChatGPT Business and Enterprise.
Add action dialog with the Webhook or AI agent tile, showing the webhook icon and the Claude and ChatGPT logos
An automation has one webhook. Send to in the card decides where it goes: Webhook, Claude scheduled task or ChatGPT agent. To change it, pick another option. Nothing changes until you enter the new URL (and token), so a click alone loses nothing.

Start a Claude scheduled task

A Claude scheduled task runs as a Claude Code task. Open claude.ai/code once and finish its setup before you create the scheduled task.
1

Create the scheduled task in Claude

Open claude.ai/code/routines and click New task, then Set up manually. Enter a name and the instructions for the agent. Tell it what to do with the event, for example: “The routine-fire-payload block holds a DocsAutomator event. When its event is esign.session_completed, write a short note with the signer, the date and the signed PDF link.”
2

Add the API trigger

In the Trigger row, click + and select API. Copy the Fire URL. Click Generate token and copy the token now, because Claude shows it only once.
3

Connect the scheduled task in DocsAutomator

In the automation editor, open Actions, click Add action and pick Webhook or AI agent. Under Send to, choose Claude scheduled task. Paste the URL and the access token. Each field saves when you leave it.
4

Send a test event

Click Send test. DocsAutomator sends a sample document and shows whether the scheduled task accepted it. “Received. The scheduled task started.” means that the scheduled task started once. You find the run in Claude under your scheduled tasks.
Webhook or AI agent card with Send to set to Claude scheduled task, the URL field, the access token field and the Send test button

Start a ChatGPT workspace agent

1

Turn on agents and access tokens

A workspace admin opens Workspace settings, then Permissions & roles. Turn on workspace agents and Allow users to create personal access tokens.
2

Give the agent its apps

In the agent, add the apps it needs under Tools, for example Airtable. Set the app’s write actions to Never ask: a run that DocsAutomator starts has nobody to approve a write, so with Always ask it stops and waits. On ChatGPT Business, an admin may first need to set the workspace’s plugin permissions to Allow low-risk.
3

Add an API channel

Add an API channel to the agent and save it. Copy the trigger ID; it starts with agtch_. The URL for DocsAutomator is https://api.chatgpt.com/v1/workspace_agents/<trigger ID>/trigger.
4

Create the access token

Open Access tokens, click Create, choose the Workspace Agents scope and a validity period, and copy the token. ChatGPT shows it only once.
5

Connect the agent in DocsAutomator

Add Webhook or AI agent and choose ChatGPT agent under Send to. Paste the URL and the access token. Each field saves when you leave it.
6

Send a test event

Click Send test. The agent’s answer appears in the agent’s ChatGPT conversation.
Every ChatGPT access token expires. When it does, the agent stops starting. Create a new token in ChatGPT and paste it into the card. Agent runs also use your ChatGPT workspace’s credits, so keep credits available.
Webhook or AI agent card with Send to set to ChatGPT agent, the URL field and the access token field

When the agent starts

The agent starts once per document:
  • With signing or acceptance on: when the document is signed or accepted. Each signer step, reminder, decline or expiry does not start it.
  • Without signing or acceptance: when the document is created.
The card shows which one applies, for example “Starts when a document is signed or accepted.” If you switch signing on or off later, the agent follows the new setting. An API request that skips signing for one document starts the agent when that document is created.

What is sent to your agent

DocsAutomator sends the token as the Authorization header (Bearer <token>). For a Claude scheduled task it also sends the anthropic-version header. The agent receives the event as one text value: {"text": "..."} for a Claude scheduled task and {"input": "..."} for a ChatGPT agent. The text is the event as JSON: An Airtable, Notion or SmartSuite run adds the record id as recId, a ClickUp run as taskId and a Google Sheets run as rowNumber. With the API you add your own keys in webhookParams. The signed event includes signer names and emails, the values signers entered, and the data the document was made from. Your Claude or ChatGPT account receives all of it, so the agent works with the same personal data as the document. Start an agent only where your team may use these AI tools for this data. All fields of each event are on the Notify Webhook page.

Your token stays with DocsAutomator

  • The token is stored encrypted. The card shows it only as dots ending in its last 4 characters.
  • You enter the token only in the DocsAutomator app.
  • The token is sent only to the address it was saved for. If the trigger URL changes to another address, paste the token again and save.
  • To replace the token, paste a new one and save. To stop, remove the Notify Webhook action.

When Send test fails

Limits

  • A Claude scheduled task accepts up to 30 runs an hour, and a Claude account up to 100 API runs an hour. Each run uses your Claude plan’s usage.
  • DocsAutomator sends the event once and does not retry. One document starts one run.
Last modified on November 13, 2026