FlowmageDocs

Custom request

BetaChanges data

Calls any Microsoft Graph endpoint using a saved connection.

Settings

SettingWhat it is
ConnectionRequiredNeeds the application permission the endpoint's own Microsoft Graph reference names, granted with admin consent in Microsoft Entra ID.
API version"v1.0" or "beta"
Method"GET" or "POST" or "PUT" or "PATCH" or "DELETE"
PathRequiredEverything after the version — e.g. users, me/messages, or users/{{ json.id }}/events. Each step is encoded for you; query parameters belong below.
Query parametersOData parameters like $select, $filter, $top — encoded for you.
HeadersExtra request headers, e.g. ConsistencyLevel: eventual or Prefer: outlook.timezone="Europe/Amsterdam". Credentials never belong here — the connection carries them.
BodyJSON text or an object — an object is sent as application/json.
Fetch every pageFollows Graph's own next-page link on a GET, re-sending your headers on every page, and refuses past Stop after rather than truncating.
Stop afterPages — at most 50.
Treat these statuses as dataComma-separated status codes, e.g. "404, 409". They come back in status instead of failing the node.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
version"v1.0" or "beta", by default "v1.0"
method"GET" or "POST" or "PUT" or "PATCH" or "DELETE", by default "GET"
pathtext
queryobject of text, by default {}
headersobject of text, by default {}
bodyany JSONused when `method` is not "GET"
paginationtrue/false, by default false
maxPagesnumber, by default 10used when `pagination` is true
acceptStatusestext

Output

FieldType
statusStatus codenumber
bodyResponse bodyany
headersResponse headersobject
pagesPages fetched (only with Fetch every page on)number
Sample output, and the expression for each field
  • bodynull
  • headers{}
  • pages1
  • status200

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "acceptStatuses": "",
    "connection": "<connection id>",
    "headers": {},
    "maxPages": 10,
    "method": "GET",
    "pagination": false,
    "path": "<path>",
    "query": {},
    "version": "v1.0"
  },
  "label": "Custom request",
  "type": "graph.request",
  "version": 1
}