• Gooey.AI
  • Firebase RTDB POST (with Cryptohash)

    Secure Firebase Data Storage with CryptoJS Hashing.

    This code snippet demonstrates how to securely store data in Firebase Realtime Database using CryptoJS for hashing sensitive information. Add your own Firebase API Key in the Accounts section.

    It includes:

    1. Dynamic import of CryptoJS library
    2. SHA256 hashing of phone numbers
    3. Firebase database integration
    4. Error handling and logging

    Perfect for developers looking to implement secure data storage in their Gooey.AI projects. Easily adaptable for various data types and Firebase configurations.


    Loading...
    ⌥ Variables

      data

    object

    Loading...

      user_message_id

    string

    System provided

      web_url

    string

    System provided

      result

    object

    System provided

    Loading...

      integration_id

    string

    System provided

      request

    object

    System provided

    Loading...

      integration_name

    string

    System provided

      conversation_id

    string

    System provided

      user_wa_phone_number

    string

    System provided

      patient_details

    object

    System provided

    Loading...

      response

    object

    System provided

    Loading...

      platform

    string

    System provided

      web_user_id

    string

    System provided

      bot_wa_phone_number

    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.


    Logs

    Record stored successfully

    Generated in 0.5s on 

    ...