Testing Logics
Section on how to test logics
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.
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.
Enable Authentication (Optional):
If this logic needs to be authenticated, toggle on Is Authenticate Endpoints.
Refer to the authentication guide to understand how authentication works.
Create and Configure Actions:
Create the necessary actions for your logic.
Configure these actions according to the requirements.
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.
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.
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.
Last updated
Was this helpful?