Welcome to Fireapis
  • Welcome
  • The Basics
    • Basics
    • Environment
      • Creating an Environment
      • Configure Domain
    • Auth
    • Secrets
    • Tables
      • Creating Table
      • Testing Tables
      • Add a New Column
      • Table Properties
      • Endpoints
      • Data
      • Deleting a Column
      • Deleting a Table
    • Webhooks
    • Marketplace
    • Logics
      • Dynamic Data Source Selection
      • Testing Logics
      • Actions
        • External API Request
        • Query Builder
        • Data Transformation
        • Build Object
        • Build Conditions
        • Other Utilities
          • Token Generation
          • Token Decryption
          • Hashing
          • Validate Hash
          • Encrypt
          • Decrypt
        • Date Utilities
          • Find Difference Between Dates
          • Add/Subtract Dates
          • Format Date
          • Apply Timezone to Date
  • Next steps
    • What Next?
Powered by GitBook
On this page

Was this helpful?

  1. The Basics
  2. Logics

Testing Logics

Section on how to test logics

PreviousDynamic Data Source SelectionNextActions

Last updated 3 months ago

Was this helpful?

  1. Select the Trigger Section:

    • Open the Trigger section of the logic you want to test.

    • The logic configuration will be displayed on the right side.

  2. Configure Input Payload:

    • Navigate to the Properties tab.

    • Configure the input payload required for the logic. For example, if it’s a magic link login, you might need an email as the input payload.

    • Save the configuration.

  3. Enable Authentication (Optional):

    • If this logic needs to be authenticated, toggle on Is Authenticate Endpoints.

    • Refer to the to understand how authentication works.

  4. Create and Configure Actions:

    • Create the necessary actions for your logic.

    • Configure these actions according to the requirements.

  5. Test the Logic:

    • Go to the Test tab in the logic configuration.

    • If authentication is enabled, you will need to enter your token. If not, this step is unnecessary.

  6. Input Payload in Test Section:

    • Navigate to the Input tab.

    • The input payload configured in the Properties tab will be displayed. You can:

      • Edit the values directly in the form.

      • Use the toggle button to switch to Input JSON mode and enter the payload as JSON.

    • Once ready, hit the Test button.

  7. View Test Results:

    • After testing is completed, you will be automatically redirected to the Results tab.

    • The Results tab displays the outcome of each action, allowing you to verify if everything is configured properly.

We have attached screenshots below, along with explanations for each step, to help you better understand the testing process.

authentication guide
Properties configuration in testing logics
Configuring input payload for testing logics
Explore results of each action after testing logics