--- title: "Create an action" url: https://docs.catalyst.zoho.com/en/convokraft/help/actions/create-an-action/ description: "Learn about the Catalyst ConvoKraft actions that bots can be configured to perform, such as directly responding to queries, or executing a business logic to fetch data or perform a task." last_updated: 2026-08-17T12:16:04Z service: ConvoKraft type: general --- # Create an Action In this section, we will discuss the steps to create an action, configure the sample sentences and params for your ConvoKraft bot. After you [create a bot](https://docs.catalyst.zoho.com/en/convokraft/help/bots/create-a-bot), you can add one or more [actions](https://docs.catalyst.zoho.com/en/convokraft/help/actions/overview/introduction) to it. To add a new action in your ConvoKraft bot, follow the steps given below : 1. After you create a new ConvoKraft bot or click on an existing bot, the bot's details page will be displayed as shown in the screenshot below. Click **Create Action**. ![create-action-button](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/create-action-button.webp) 2. Provide a meaningful name for the action in the pop-up that appears. You can choose to configure the response of the action with a direct answer or based on business logic. Make a selection and click **Next**. ![create-action-direct-answer](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/create-action-direct-answer.webp) ### Respond with a direct answer If you choose to configure the response of the action with a direct answer, follow the steps given below: 1. Enter the appropriate sample sentences on how this question can be asked, that is the different possible variations of the question that the user is likely to use while conversing with the ConvoKraft bot. You can learn more about [sample sentences](https://docs.catalyst.zoho.com/en/convokraft/help/actions/define-sample-sentences) from this page. Click **Next**. ![just_sample_sentences](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/just_sample_sentences.webp) 2. Under What's the answer section, enter the content that should be replied as an answer to the question. You can select a specific text in the answer and apply formatting styles to it by clicking the various formatting icon available in the toolbar. Learn more about the various formatting structures in detail from [this section](https://docs.catalyst.zoho.com/en/convokraft/help/actions/define-bot-responses). > **Note :** The answer configured here is universal and common to all users irrespective of their region and timezone. ![toolbar](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/toolbar.webp) 3. Click the **Preview** option in the Markdown editor toolbar to view a live preview of the content with applied formatting styles. Click **Save**. ### Constructing answer by executing business logic If you choose to configure the response of the action based on the execution of a business logic, either by fetching data or performing any operation, please follow the steps listed below: ![based-on-business-logic](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/based-on-business-logic.webp) 1. Define the [sample sentences](https://docs.catalyst.zoho.com/en/convokraft/help/actions/define-sample-sentences) for your action. 2. Configure the required [params](https://docs.catalyst.zoho.com/en/convokraft/help/actions/define-params) for your action. > **Note :** You can add params only when you choose to configure your action's response based on a business logic. * To add a new param to an action: Click the **New Params** option in the **PARAMS** section ![new-param-button](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/new-param-button.webp) 3. Choose the required param type from the list of data types supported by ConvoKraft and you will see a new dialog box to configure further details. Learn more about the attributes of each param type from [params](https://docs.catalyst.zoho.com/en/convokraft/help/actions/define-params/#attributes-of-a-param). #### String We will first create a new param of type `String`. ![event-topic](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/event-topic.webp) You can configure the following details for the params: 1. Enter the prompt message for user input and a failure message to display in case of invalid inputs. 2. Enable Allow to skip, if required. > **Note :** The above mentioned attributes are applicable to all param types in ConvoKraft. #### Single/Multi selection list Next, we will create another param of type `Single selection list` : 1. When you configure a single selection list/multi-selection list param, you can add the applicable options by clicking the **New Option** button as shown in the image below. To learn more about this param type, please refer to [this page](https://docs.catalyst.zoho.com/en/convokraft/help/actions/define-params/#single-and-multiple-selection-list). > **Note :** You can also allow values at runtime other than the configured values, by enabling the allow values checkbox. ![event-title](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/event-title.webp) 2. You can also optionally configure custom button to perform further operations with the selected options by clicking the **Add Button** option beside the **Submission Buttons** label. The **Configure Buttons** screen will appear. Enter the values for required fields of each button. To learn more about these fields, please refer to [this page](https://docs.catalyst.zoho.com/en/convokraft/help/actions/define-params/#single-and-multiple-selection-list). ![add-new-button](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/add-new-button.webp) To add another button, click **New Button** and once the required buttons are successfully added, click **DONE**. 3. Choose the Mode of input as either `Textual` or `Visual`, based on your requirement. ![single-selection-list-ex](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/single-selection-list-ex.webp) 4. Associate a param with specific phrases in the sample sentences by selecting the required text. Select one of the configured params from the list shown, and associate it with the text right away. You can also click **New param** to create a new param. > **Note :** If you have not associated any param with the sample sentences, then the params will be invoked in the conversation in the exact same order in which they are defined. ![param-association](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/param-association.webp) 5. After you configure the required sample sentences and params for the action, click Save. You can further edit the configurations by clicking on the Edit button. To learn more about viewing and managing an action, please refer to [this page](https://docs.catalyst.zoho.com/en/convokraft/help/actions/manage-an-action/). ![all-details-page](https://catalyst-docs-development.zohostratus.in/images/help/convokraft/all-details-page.webp)