A new colleague who sits at their desk and does nothing is rarely lazy. Usually nobody gave them a login, their manager never signed off their first task, or they are waiting for an answer from someone who has gone home. You find out by checking a few things in order, starting with the dullest.
An AI employee that does nothing is the same. It answers every message with a generic apology, or it says nothing at all, or it ran last week and has gone quiet. Almost always the cause is one of a short list, and each one leaves a trace you can read. Here are the ten checks we would run, in this order, for the developer or workspace owner who set it up.
One rule before you start: look at the record before you change anything. Most of these checks are confirmed with a query, not a guess.
1. Is the workflow published?
Symptom: the AI employee replies to every single message, even “hello”, with the same generic fallback message, and nothing in your logs looks wrong.
Confirm: read the workflow’s isPublished. A workflow you created and saved starts out unpublished, and an unpublished workflow runs no steps at all for any session. There is no error anywhere.
Fix: publish it. Publishing also checks the graph, so a refusal tells you exactly what is wrong: no start step or more than one, an edge pointing at a step that does not exist, two steps with the same id, a step nothing leads to, or a step missing a required setting. Step type values are lowercase; "START" in capitals is refused. After any later edit, publish again: saving a change only updates the draft, and live sessions keep running what was last published.
Read: Workflows: publishing, Troubleshooting: why won’t my workflow publish?, and if you want to test before customers see it, how to try a workflow safely.
2. Is the agent attached to that workflow and ready to take traffic?
Symptom: a published workflow exists, but the AI employee still does nothing with it.
Confirm: read the agent’s workflowId and status. The workflow is attached with updateAgent, not when the agent is created, so a new agent can have none. A headless task against an agent that is not ACTIVE is refused with a message saying so, and a scheduled fire against it fails. If the agent was hired from a role template and a required setup item is still open, it takes no traffic until the checklist is finished. If customers reach it through a connected messaging app, the connector itself must be ACTIVE; a failed activation sets status to ERROR and records the reason in lastErrorMessage.
Fix: attach the published workflow, finish any setup checklist, and activate the connector.
Read: Agents, Agents API: hireAgentTemplate, Channels: the connector lifecycle.
3. Does every request carry the platform header?
Symptom: every call from a new integration is refused with Platform is not specified!, even with a valid credential.
Confirm: look at the raw request. Every HTTP request needs x-huat-platform: customer. Without it the request is refused before any credential is checked; GraphQL answers HTTP 200 with extensions.code FORBIDDEN. For a live subscription, the header goes inside the connection’s opening payload, not the HTTP handshake.
Fix: add the header to every call, alongside whichever credential the call needs.
Read: Troubleshooting: the platform header, Authentication.
4. Is it the right credential, and has it expired?
Symptom: some calls work and others are refused, or a long conversation suddenly stops accepting messages with Invalid or expired avatar token.
Confirm: Wetel has three credentials and they are not interchangeable. A dashboard login (JWT) is for building and inspecting; an API key stays on your server and starts sessions; a session token (avatarToken) is returned by sdkStart and sends messages, ends the session and subscribes to its events. The session token lasts about an hour.
Fix: use the credential the operation asks for. For an expired session token, do not start a new session: call refreshAvatarToken with the token you have, and retry with the new one. A token that expired within the last ten minutes is still accepted. Then close and reopen the live subscription with the new token, because an open subscription cannot take a new one.
Read: Authentication: refreshing the session token.
5. Is your app listening for the replies?
Symptom: messages are accepted, the run record shows replies were produced, but nothing appears in your app.
Confirm: sending a message only acknowledges it; the reply arrives later as an event on the session’s subscription. GraphQL silently drops any event type your subscription does not select with an inline fragment (... on AiResponseEvent { text }). There is no error; the reply just never shows. A stale subscription after a token refresh (check 4) looks the same.
Fix: select every event type you handle, and reopen the subscription after a refresh.
Read: Troubleshooting: the union-fragment selection, Events & Subscriptions.
6. Did a step fail? The run record says why
Symptom: the customer gets a generic reply beginning “Sorry, I ran into a problem”.
Confirm: that reply means a step failed and nothing in the workflow caught it. The real reason is not shown in the chat. With a dashboard login, query workflowRuns(sessionId) for the conversation, then read the failed run’s status, errorMessage and nodeTrace, the step-by-step record of what the run did. An API key or session token cannot read run records. For steps that call another system, the trace also shows the request that was actually sent. If a call to your own system used to work and now fails, check whether it redirects or whether its hostname resolves from outside your network: outbound calls no longer follow redirects, and an unresolved hostname is refused.
query RunsForSession($sessionId: Int!) { workflowRuns(sessionId: $sessionId) { id status totalTokensUsed errorMessage createdAt completedAt }}Fix: fix the cause the record names. For tool and action steps that call a system which can be down, add success and failure edges so a failure goes to a reply you wrote instead of the generic one.
Read: Observability, Error Handling & Status Codes, and our posts on reading a run record and what the customer sees when an AI employee fails.
7. Is a run still waiting for the customer?
Symptom: the AI employee asked a question and then nothing more happened; a run shows AWAITING_INPUT.
Confirm: that run paused on purpose at an await_reply step. It is not broken and it will never become COMPLETED: the customer’s answer runs as a separate run that points back to it. pendingAwaitReplies lists what is waiting and until when. By default a wait stays open for 24 hours (the ceiling is 7 days). When it lapses, nothing is sent; the next message simply starts a fresh run from the beginning.
Fix: usually none. Do not alert on every run that is not COMPLETED. If you need a reminder after a set time, build it on your side, for example a job of your own that checks pendingAwaitReplies.
Read: await_reply: expiry, Error handling: a run that is waiting is not a run that failed, waiting for a reply without blocking the system.
8. Has a limit been reached?
Symptom: everything worked until late in the month, or under a burst of traffic, and then new work is refused.
Confirm: two kinds of limit apply.
- The monthly language-model spend cap. Each plan has one (the documented caps are $5 on Developer and $200 on Pro). It is checked before each chat turn, workflow task, scheduled run, direct model call and playground call, and once it is reached new work is refused with a clear error until the month rolls over or the plan changes. It is a check made before work starts, not an exact meter.
apiUsageSummaryshows the month’s cost and the cap you are measured against. - Rate limits. Most are counted per client IP address, usually per 60 seconds. Starting a session (
sdkStart) allows 30 per minute per IP. Going over returns an error with HTTP 429 semantics.
Fix: for the spend cap, wait for the new month or talk to us about the plan. For a rate limit, back off and retry after the window; if your backend serves many users from one address, they share one count.
Read: Pricing & plans, LLM API: monthly spend cap, Rate Limiting, what credits are and what they do not promise.
9. Has a schedule switched itself off?
Symptom: a scheduled workflow ran for a while and then stopped, with no message from anyone.
Confirm: query scheduledWorkflows and look for status: AUTO_DISABLED. After a set number of failed fires in a row (default 3, configurable from 1 to 20), a schedule stops itself. A fire that could not even start counts as a failure: spend cap reached, agent not ACTIVE, or no published workflow. Such a fire leaves no run record, only the schedule’s own lastRunStatus and consecutiveFailureCount. Nothing is pushed to you when this happens: no email and no webhook.
Fix: fix the cause, then call resumeScheduledWorkflow. If a schedule matters, check scheduledWorkflows on a timer and alert on AUTO_DISABLED yourself.
Read: Scheduled workflows: cost controls and auto-disable, an AI employee that starts on its own.
10. Does the knowledge base have anything in it?
Symptom: the AI employee answers, but not from your documents, as if it had never read them.
Confirm: an uploaded document is processed in the background and moves from PENDING to PARSING to READY; if text extraction fails it is marked FAILED. Check that each document reached READY, then run retrieveChunks with a realistic question to see what the knowledge base actually returns. Retrieval also fails open: if it errors during a conversation, the step answers without the extra context instead of failing, so check that turn’s run record to see whether retrieval ran and what it found.
Fix: re-upload anything FAILED in a supported format, wait for READY, and test with retrieveChunks before relying on it.
Read: Knowledge base: testing retrieval, fail-open retrieval, answering from your own policies.
What to send us when you contact us
The docs do not list a required format, so this is our suggestion: send the identifiers and the exact error, never a secret. It lets us look at the same record you are looking at.
- The agent id, the workflow id, and the session id of a conversation that went wrong.
- The run id, if you have it from
workflowRuns. - The time it happened, with the time zone.
- The exact error
messageandextensions.codefrom the response, or the run’serrorMessage. - What you expected to happen, and which of the ten checks above you have already run.
Do not send API keys, session tokens, passwords or a dashboard login. If you copy a step’s request from the run record, check it for anything secret first.
What this list does not cover
These are the causes the docs describe; it is not a promise that nothing else can go wrong. We do not publish an uptime or reliability figure. Your own run records are the measure that counts, and someone in your workspace (the person who owns the AI employee) should read the failed ones each week.
Related reference docs
- Troubleshooting & FAQ: common mistakes, publish errors and debugging a failed run
- Error Handling & Status Codes: error codes, run-trace statuses and what to retry
- Observability: run records,
workflowRuns(sessionId)and session counters - Workflows overview: publishing and what it checks
- Authentication: the three credentials and refreshing the session token
- Pricing & plans: plan limits and the monthly spend cap
- Scheduled workflows: auto-disable and how to resume
await_replynode: waiting runs and expiry- Knowledge base: document status and testing retrieval
Start with the Troubleshooting & FAQ page, and keep this list next to it the first time an AI employee goes quiet.