Integrate Directus with Firebase SDK (for Firebase Cloud Messaging/Push Notifications)

Hi, I’m using directus as backend for my mobile app. After research for some days, I have these conclusions:
I need to create Directus Flow for Firebase Operations: store email and password when user registered in directus (done via rest api), get fcm_token when user log in (failed because :runQuery method not working, always error400 bad request). But Google provide guide to integrate with nodejs with firebase SDK.

Is directus can do that? Anyone can help me? TIA.

Error400 because wrong method. I was using GET, it should POST on https://firestore.googleapis.com/v1/projects/theproject/databases/(default)/documents:runQuery