# AI Actions events

> For the complete documentation index, see [llms.txt](https://doc.ibexa.co/en/saas/llms.txt).

Events that are triggered when working with AI actions.

## AI Action execution

| Event                                                                                                                                                     | Dispatched by                                                                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| [BeforeExecuteEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-Action-Event-BeforeExecuteEvent.html) | [ActionServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionServiceInterface.html) |
| [ExecuteEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-Action-Event-ExecuteEvent.html)             | [ActionServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionServiceInterface.html) |

## Action Configurations management

| Event                                                                                                                                                                                                      | Dispatched by                                                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [BeforeCreateActionConfigurationEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfiguration-Event-BeforeCreateActionConfigurationEvent.html) | [ActionConfigurationServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfigurationServiceInterface.html) |
| [CreateActionConfigurationEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfiguration-Event-CreateActionConfigurationEvent.html)             | [ActionConfigurationServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfigurationServiceInterface.html) |
| [BeforeUpdateActionConfigurationEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfiguration-Event-BeforeUpdateActionConfigurationEvent.html) | [ActionConfigurationServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfigurationServiceInterface.html) |
| [UpdateActionConfigurationEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfiguration-Event-UpdateActionConfigurationEvent.html)             | [ActionConfigurationServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfigurationServiceInterface.html) |
| [BeforeDeleteActionConfigurationEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfiguration-Event-BeforeDeleteActionConfigurationEvent.html) | [ActionConfigurationServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfigurationServiceInterface.html) |
| [DeleteActionConfigurationEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfiguration-Event-DeleteActionConfigurationEvent.html)             | [ActionConfigurationServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionConfigurationServiceInterface.html) |

## Others

| Event                                                                                                                                                                                                 | Dispatched by                                                                                                                                                               | Description                                                                            |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [ContextEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-Events-ContextEvent.html)                                                               | [ActionServiceInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionServiceInterface.html)                        | Pass additional options to the System Context before an AI Action is executed          |
| [ResolveActionConfigurationWidgetConfigEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-Events-ResolveActionConfigurationWidgetConfigEvent.html) | `\Ibexa\ConnectorAi\Twig\ActionConfigurationWidgetConfigExtension::renderActionConfigurationWidgetConfig()`                                                                 | Modify the Action Type configuration returned from the `ibexa_ai_config` Twig function |
| [ResolveActionHandlerEvent](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-Events-ResolveActionHandlerEvent.html)                                     | [ActionHandlerResolverInterface](https://doc.ibexa.co/en/saas/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-Action-ActionHandlerResolverInterface.html) | Hook into the process of choosing a Handler to execute an AI Action                    |
