You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have initial set of blocks: Start, Input, Logic, Output, End. (Keep in mind that there will be more blocks of different types, so it should be easy to introduce new blocks).
As a user, I want to click on each block, it will trigger opening side panel where I can configure parameters and settings for the selected block.
Specific Parameters (for version v0.0.1)
All the blocks have these parameters in common: Name - string, Description - string
These settings will differ based on the type of block being used:
For Input Blocks
Input Type: Specify if the input is from a user, API, or database.
Default Input Value: Pre-fill data to use when the flow starts.
Validation Rules: Conditions that input must meet (e.g., not empty, max length).
For Logic Blocks
Condition Logic: Define the conditional statements (e.g., if-else logic).
True/False Path: Specify which blocks to execute if the condition is true or false.
Script/Code Snippet: Allow basic custom code snippets (in a controlled environment) to determine the block's logic.
For Output Blocks
Output Destination: Where the output should be sent (e.g., console, API endpoint, database).
Output Format: Define the output format (e.g., JSON, XML, plain text).
Error Handling for Output: Specify what to do if the output operation fails.
For API Call Blocks
API Endpoint: The URL of the API being called.
Request Method: GET, POST, PUT, DELETE.
Headers: Set HTTP headers required for the API call.
Payload: Define the data payload for POST or PUT requests.
Authentication: OAuth, API Key, or None.
Future Considerations
Since it's v0.0.1, keep the parameters lightweight and straightforward to avoid overwhelming users. As you iterate, you can introduce more advanced settings like caching, data transformations, or advanced debugging options.
Keep blocks configuration in the global state. You are welcome to make design choices that you think will fit application best!
The text was updated successfully, but these errors were encountered:
We have initial set of blocks: Start, Input, Logic, Output, End. (Keep in mind that there will be more blocks of different types, so it should be easy to introduce new blocks).
As a user, I want to click on each block, it will trigger opening side panel where I can configure parameters and settings for the selected block.
Specific Parameters (for version v0.0.1)
All the blocks have these parameters in common: Name - string, Description - string
These settings will differ based on the type of block being used:
For Input Blocks
For Logic Blocks
if-else
logic).For Output Blocks
For API Call Blocks
GET
,POST
,PUT
,DELETE
.POST
orPUT
requests.Future Considerations
Since it's v0.0.1, keep the parameters lightweight and straightforward to avoid overwhelming users. As you iterate, you can introduce more advanced settings like caching, data transformations, or advanced debugging options.
Keep blocks configuration in the global state. You are welcome to make design choices that you think will fit application best!
The text was updated successfully, but these errors were encountered: