Search Surveys
surveymonkey.search_surveys
ActionBusiness appsconnection required
Calls the SurveyMonkey API with the connection's credentials.
Search the account's surveys by title or nickname, with optional response count and date-range filters.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- SurveyMonkey
- Secret shape
- the OAuth2 access token, or {"access_token": "…"}
- Config it needs
- base_url, datacenter
- Resolved by
- config.connection_id, else node.connection_id
Configuration
11 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
query The text to look for in a survey's title or nickname. | string | No | — | — | — |
page Which page of results to return; SurveyMonkey starts at page 1. | number | No | — | ≥ 1 | 1 |
per_page How many resources to return per page; SurveyMonkey caps a page at 1000. | number | No | — | 1–1000 | 50 |
sort_by The field the search results are ordered by. | string | No | — | — | — |
sort_order Whether the chosen sort runs ascending or descending. | string | No | — | one of "ASC", "DESC" | — |
response_count_min Return only surveys with at least this many responses. | number | No | — | ≥ 0 | — |
response_count_max Return only surveys with at most this many responses. | number | No | — | ≥ 0 | — |
start_date The inclusive start of the date range to filter on. | string | No | — | iso8601 format | — |
end_date The inclusive end of the date range to filter on. | string | No | — | iso8601 format | — |
date_type Which date the range filters on; SurveyMonkey defaults to date_modified. | string | No | — | one of "date_modified", "date_created" | — |
folder_id Return only the surveys inside this survey folder. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page": 1,
"per_page": 50
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The resources in this page, exactly as SurveyMonkey returned them. | array | — |
count How many resources this page actually contains. | number | — |
page The page number SurveyMonkey reported for this result. | number | — |
per_page The page size SurveyMonkey reported for this result. | number | — |
total How many resources match the query in total. | number | — |
next_page_url SurveyMonkey's URL for the next page, or an empty string. | string | — |
has_more True while SurveyMonkey still offers a next page. | boolean | — |
{
"count": 0,
"has_more": false,
"items": [],
"next_page_url": "",
"page": 0,
"per_page": 0,
"total": 0
}Notes
- SurveyMonkey pages with page/per_page and only sends links.next while more results exist.
See Search Surveys run in a workflow.
In a technical demo we add the SurveyMonkey connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.