Actions

What is an Action?

An Action is a Python automation script that interacts with autobotAI integrations to perform tasks across services. Actions allow users to automate workflows seamlessly within the autobotAI environment.

Steps to Create an Action

  1. Log in to your autobotAI account.

  2. Navigate to Bot Building Blocks and click on Actions. select_action
  3. View Available Actions: You’ll see a list of all existing Python actions.

  4. Create a New Action: Click the + New button. new_action
  5. Fill in the required details (fields marked with an asterisk (*) are mandatory).

  6. Provide the Action Name for your Python automation.

  7. Select the Integration Type from the dropdown, which lists all available integrations.

  8. Choose a Category from the dropdown to classify your action.

  9. Specify any Python Clients required for the action.

  10. Add Parameters by clicking + Add; this will list available parameters.

  11. In the Code window, write your Python script for the action. python_action

Example Actions

  • Send a message to a Microsoft Teams channel.
  • Delete an Amazon S3 bucket.
  • Update an Azure Network Security Group rule.

How to Test an Action

  1. Navigate to Bot Building Blocks and select Actions to view the list of all available actions.

  2. Locate your desired action and click on the three dots to the left of it.

  3. Choose Test from the options. test_actions
  4. Select the active integration you wish to test the action with. run_action
  5. Click Run in the top right corner to execute the test.

This process will allow you to validate that the action performs as expected within the specified integration.