---
updatedAt: 2026-03-01T17:57:46.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/v9.3/llms.txt
---

# Conditional action

akamai_botman_conditional_action

Returns information for your conditional actions. Conditional actions are actions typically designed to trigger in highly-specific situations.

Use the `action_id` argument to limit the returned data to information about the specified action.

## Example

```json Query
data "akamai_botman_conditional_action" "conditional_actions" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
}

output "conditional_actions_json" {
  value = data.akamai_botman_conditional_action.conditional_actions.json
}

data "akamai_botman_conditional_action" "conditional_action" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
  action_id = "cc9c3f89-e179-4892-89cf-d5e623ba9dc7"
}

output "conditional_action_json" {
  value = data.akamai_botman_conditional_action.conditional_action.json
}
```

## Arguments

This resource supports the following arguments:

* `config_id` (Required). Unique identifier of the security configuration associated with the conditional actions.
* `action_id` (Optional). Unique identifier of the conditional action you’d like returned. If omitted, all conditional actions are returned.

## Output options

The following options can be used to determine the information returned and how that returned information is formatted:

* `json`. JSON-formatted output containing information about your conditional actions and how they’re configured.

# Sibling pages

* [Bot category](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-bot-category.md)
* [Bot category action](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-bot-category-action.md)
* [Bot category exception](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-bot-category-exception.md)
* [Bot endpoint coverage report](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-bot-endpoint-coverage-report.md)
* [Bot management settings](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-bot-management-settings.md)
* [Bot sequence](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-bot-category-item-sequence.md)
* [Challenge action](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-challenge-action.md)
* [Challenge interception rules](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-challenge-interception-rules.md)
* [Challenge injection rules](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-challenge-injection-rules.md)
* [Client-side security](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-client-side-security.md)
* [Content protection JavaScript injection rule](https://techdocs.akamai.com/terraform/v9.3/docs/cpr-ds-javascript-injection-rule.md)
* [Content protection rule](https://techdocs.akamai.com/terraform/v9.3/docs/cpr-ds-rule.md)
* [Content protection rule sequence](https://techdocs.akamai.com/terraform/v9.3/docs/cpr-ds-rule-sequence.md)
* [Custom-bot category](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-bot-category.md)
* [Custom-bot category action](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-bot-category-action.md)
* [Custom-bot category sequence](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-bot-category-sequence.md)
* [Custom-defined bot](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-defined-bot.md)
* [Custom client](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-client.md)
* [Custom client sequence](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-client-sequence.md)
* [Custom deny action](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-custom-deny-action.md)
* [Defined bot](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-defined-bot.md)
* [Detection](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-detection.md)
* [Detection action](https://techdocs.akamai.com/terraform/v9.3/docs/dbmgr-ds-etection-action.md)
* [JavaScript injection](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-javascript-injection.md)
* [Recategorized Akamai-defined bot](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-recategorized-akamai-defined-bot.md)
* [Response action](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-response-action.md)
* [Serve alternate action](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-alternative-action.md)
* [Transactional endpoint](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-transactional-endpoint.md)
* [Transactional endpoint protection](https://techdocs.akamai.com/terraform/v9.3/docs/bmgr-ds-transactional-endpoint-protection.md)