HappierleadsDocs
MCP server

preview_automation_filter

Counts the leads of the last days that match a saved filter, and shows a few of them, before you use the filter in an automation.

Preview an automation filter · Read-only

Counts the leads of the last days that match a saved filter, and shows a few of them, before you use the filter in an automation. Free.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
websiteIdstringYesWebsite ID from list_websites.
filterIdstringYesSaved filter ID from list_filters.
daysnumberNoHow many days back (1-90).

Tool definition

What your assistant receives from tools/list:

{
  "name": "preview_automation_filter",
  "title": "Preview an automation filter",
  "annotations": {
    "title": "Preview an automation filter",
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "filterId": {
        "type": "string",
        "description": "Saved filter ID from list_filters."
      },
      "days": {
        "type": "number",
        "minimum": 1,
        "maximum": 90,
        "description": "How many days back (1-90)."
      }
    },
    "required": [
      "websiteId",
      "filterId"
    ]
  }
}

On this page