The Brave Web Search action uses the Brave search engine's general web search feature to return web results relevant to the queries specified by users. These results include title, description, and URL information. It is particularly preferred in information retrieval, content integration, analysis, and research-focused applications.
Technical Specifications
Search Process (Search Panel): The Brave Web Search action lists content on the web based on the keywords entered. Results are returned in multiple entries (Many).
Parameters:
settings (Object – required): The Configuration Manager object where Brave API settings are defined.
query (String – required): The word or phrase to search for. (E.g., “climate change report,” “best mobile apps 2025,” “Kuika low-code platform”).
count (Int32 – required): Specifies the number of results to return. If 0 is provided, no results are returned.
offset (Int32 – optional): Used for pagination. Specifies which result to return starting from. (e.g., if 10 is entered, it lists starting from the 11th result).
Data Source Compatibility: All parameters can be defined as fixed values, or they can be linked to dynamic sources such as Form Input, Current, Action Result, Method Input via the Symbol Picker.
Web & Mobile Support: The Brave Web Search action works in both web and mobile applications.
Brave Web Search Application Steps
1. Defining the Action in UI Design
Open your Kuika project.
In the UI Design module, select the screen where web results will be displayed.
Add a Text Input (search box) and Button (e.g., “Search on the Web”) element.
Click on the button and select the + ADD ACTION → Brave Search → Brave Web Search action.
2. Configuring Parameters
settings: Select the Brave API setting defined in Configuration Manager.
query: Set it to connect to the Text Input (whatever the user types will be searched).
count: Specify the number of results to return (e.g., 10).
offset: If pagination is required, enter an appropriate starting value instead of 0.
Use Case: Fetching Web Results About Kuika
In an information application, the user wants to see web results by typing “Kuika platform”.
Steps:
Add a Text Input (e.g., ‘Search’).
Add the Brave Web Search action to the OnClick event of the “Search” button.
Link the Query parameter to the Text Input.
Set the Count value to 10.
Display the returned results as a Table element with title, description, and URL.
Brave Web Search Advanced Customizations
Pagination: A “Next Page” button can be added with the offset parameter.
Conditional Display: If no results are found, a “No results found” message can be displayed.
Saving Results: The user can save their search history.
Open with Link: The returned URLs can be clicked to direct the user to the source.
Technical Risks and Controls
query must not be empty. This is a required parameter; otherwise, no results will be returned.
If count = 0, no results will be returned. A minimum value of 1 or higher must be entered.
If offset is incorrect, pagination results may differ from expected.
The settings configuration is mandatory. If settings are not configured for Brave Web Search in the Configuration Manager, the action will not work.
Result Format: The title, description, and link fields in the returned results must be correctly linked.