You can get global node IDs of objects via the REST API and or webhooks, and then use them in GraphQL operations.
In this article
You can access most objects in Scope (users, groups, scenarios, etc.) using either the REST API or the GraphQL API. With a recent update, you can find the global node ID of many objects from within the REST API and use these IDs in your GraphQL operations, and vice versa.
...