Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude
API/schemas
Schema

WaitForReplyStepDefinition

Wait-for-reply step — pauses until an inbound email matches the thread. Monitors the Agentmail inbox for a reply to a previously sent email. The workflow pauses (WAIT) and resumes when a matching reply is detected or the timeout expires.

FieldTypeDescription
idrequiredstring—
namerequiredstring—
typestring—
descriptionstring | null—
depends_onstring | object[]—
stagestring | null—
timeoutstringMax time to wait for a reply before timing out
retry_policyRetryPolicy | null—
error_handlerStepErrorHandler | null—
impact_level"low" | "medium" | "high" | "critical"Impact classification for steps.
lowmediumhighcritical
run_mode"propose" | "auto_run"Execution mode for steps.
proposeauto_run
requires_approvalboolean—
metadataobject | null—
examplesStepExample[] | nullAttached example files for this step. Each entry pairs a platform.file_uploads.file_id with a role + tags + notes so the runtime can shape its instruction. Bounded at 20 to keep a reasonable upper limit on the prompt preamble.
tagsstring[] | nullCategorical labels on the step itself (e.g. 'pdf-read', 'coutts', 'fy25'). Free-form; recommended tag set is documented per workstream surface.
sent_message_id_fromrequiredstringContext path to the message_id of the sent email to watch for replies
on_replystring | nullStep ID to jump to when reply is received (default: next step)
on_timeoutstring | nullStep ID to jump to on timeout (default: next step with timeout status)