• Gooey.AI
  • 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

      integration_name

    string

    System provided

      platform

    string

    System provided

      response

    object

    System provided

    Loading...

      integration_id

    string

    System provided

      conversation_id

    string

    System provided

      user_message_id

    string

    System provided

      result

    object

    System provided

    Loading...

      web_url

    string

    System provided

      request

    object

    System provided

    Loading...

      web_user_id

    string

    System provided

    Secrets

    FIREBASE_API_KEY


    Run cost = 1 credits

    Functions are free if called from another workflow.

    By submitting, you agree to Gooey.AI's terms & privacy policy.

    Return value

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

    Generated in 0.4s on 

    ...