Polymarket Heartbeat logo

Catalog action Utility wallet

Send a heartbeat (dead-man switch) to Polymarket. Creates a new heartbeat or refreshes an existing one. If a heartbeat is not refreshed before it expires, Polymarket auto-cancels all open orders associated with the account. Ideal for: automated trading safety nets, market-making workflows, crash protection.

This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.

At a Glance

FieldValue
Action IDpolymarket-heartbeat
CategoryUtility
Connectorwallet
Requires gasNo
Funds movementNone declared
Tagspolymarket, trading, orders, write

Payload Schema

FieldTypeRequiredDescription
heartbeatIdstringNoExisting heartbeat ID to refresh. If omitted, creates a new heartbeat. Store the returned heartbeatId and pass it in subsequent calls to keep the heartbeat alive. If the heartbeat is not refreshed in time, Polymarket auto-cancels all associated orders.

Result Schema

FieldTypeRequiredDescription
statusstringYes-
heartbeatIdstringNoThe heartbeat ID. Pass this back in subsequent calls to refresh the heartbeat.
messagestringNoAdditional context about the heartbeat operation.

Examples

json
{ "type": "polymarket-heartbeat", "payload": { "heartbeatId": "example-heartbeatId" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I