Upwork icon

Upwork

Automate Upwork with OAuth2, API tokens, GraphQL, REST, and AI-friendly outputs

Actions11

Account → Get Current User

AI-generated

Summary

Fetches the authenticated Upwork user's profile using a GraphQL viewer query. Use OAuth2 or an API token; optional advanced settings can replace the query, add variables, or choose the result path.

Inputs

  • Authentication (required) — Choose OAuth2 (default) or API Token and configure the matching Upwork credentials.
  • GraphQL Query Override — Replace the built-in query, which requests the viewer's id, name, and email.
  • Variables — JSON object merged into the GraphQL variables; the built-in query uses none.
  • Item Path — Dot path to the result to emit. The default is viewer; connection results are unwrapped from nodes or edges automatically.

Output shape

One n8n item for each extracted result, with id, resource, operation, data, and _meta fields.

The default result is the current user object under data, with fields requested by the built-in query: id, name, and email. A query override can change the returned fields. If the selected path resolves to an object, it emits one item; arrays emit one item per element. GraphQL or request errors fail the operation unless Continue On Fail is enabled.

Links

Discussion