Firebase RTDB GET (with Cryptohash)

This code snippet enables secure patient data retrieval from a Firebase Realtime Database using a hashed phone number. It utilizes CryptoJS for SHA256 hashing, ensuring data privacy. The script fetches user records, searches by mobile number, and returns detailed patient information. Ideal for healthcare applications requiring secure, efficient patient data access.

Add your own Firebase API Key in the Accounts section.

Loading...
Variables

  data

string

  request

object

System provided

Loading...

  web_user_id

string

System provided

  user_message_id

string

System provided

  platform

string

System provided

  response

object

System provided

Loading...

  web_url

string

System provided

  conversation_id

string

System provided

  integration_name

string

System provided

  result

object

System provided

Loading...

  integration_id

string

System provided

Secrets

Run cost = 1 credits

Functions are free if called from another workflow.

With each run, you agree to Gooey.AI's terms & privacy policy.

Return value

{1 Items
"patient_details"
:
{
}1 Items
}