How often runs happen and what they do alone
set_run_settingsChange the run schedule and automation. 'frequency' is one of three_times_daily, twice_daily, daily. 'preferredHour' is the UTC hour (0-23) a run should start from; -1 clears it. 'autoFollowup' turns automatic follow-ups on sites that went quiet on or off. 'autoSend' true means new batches are SENT WITHOUT REVIEW; confirm with the person before turning it on. Turning it off is always allowed. A site not yet eligible (warmup not done, or no batch approved by hand yet) keeps the request and switches on when it becomes eligible. 'minDr' and 'maxDr' limit new prospects to that Ahrefs Domain Rating range (1-84, 0 clears); smaller sites say yes more often, so a high minimum means fewer drafts. 'siteTopic' is a comma-separated list of fields a site AS A WHOLE must mainly be about (its homepage is checked), e.g. "real estate, home staging, interior design"; sites about something else are skipped even when one article matches. "" turns it off. It means fewer drafts, all on topic; get_campaign shows a suggestion. Pass only the fields to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDr | No | Skip prospects above this Ahrefs DR (1-84), or 0 for no maximum. | |
| minDr | No | Skip prospects below this Ahrefs DR (1-84), or 0 for no minimum. | |
| autoSend | No | Send batches without review. Confirm before true. | |
| frequency | No | How often discovery and drafting run. | |
| siteTopic | No | Fields a whole site must be about, comma-separated, up to 300 characters, or "" to turn the filter off. | |
| workspaceId | Yes | Which site to act on. Call get_status with no arguments to list them. | |
| autoFollowup | No | Automatic follow-ups on or off. | |
| preferredHour | No | UTC hour 0-23, or -1 for no preference. |