#about standing order

1 messages · Page 1 of 1 (latest)

wind pelican
#

I have a standing order to go find 3 new leads, how can I tell to to stop if it can't find 3 after a certain number of tries

mild iceBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

loud swiftBOT
bleak schoonerBOT
# wind pelican I have a standing order to go find 3 new leads, how can I tell to to stop if it ...

For that, put the stop condition in the standing order itself, and use cron timeout as the wall-clock guard.

Example wording for the standing order / cron message:

Goal: find up to 3 qualified new leads.

Attempt budget:
- Try at most 5 search passes total.
- A pass means one distinct source/query strategy.
- Stop early once 3 qualified leads are found.
- If fewer than 3 are found after 5 passes, stop anyway.
- Report the leads found, the sources checked, and why the remaining slots were not filled.
- Do not keep retrying silently or broaden criteria without approval.

If this is run by cron, also add a runtime cap so the job cannot run forever, e.g. --timeout-seconds 600. That timeout limits the whole run; the “5 passes max” rule limits the agent’s behavior.

bleak schoonerBOT