NAME

Twilio::Rest::Intelligence::V3::RuleExecution - The RuleExecution resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $rule_execution = $client->intelligence->v3->rule_executions->create(\%body);

DESCRIPTION

This file holds RuleExecutionList. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

RuleExecutionList

Returned by $client->intelligence->v3->rule_executions. See also Twilio::ListResource.

create

my $rule_execution = $client->intelligence->v3->rule_executions->create(\%body);

Resolves the given configuration, rule, and conversation, derives the memoryStoreId from the conversation's configuration. Then executes the rule on the conversation. Optionally, rule.operators[] can be provided to override specific operator parameters for this execution only; the stored rule configuration is not modified. Returns true.

%body is sent as JSON. It takes the names Twilio's API documentation uses.

Its fields are:

conversationId

Required. The Conversation identifier to execute the Rule against.

intelligenceConfigurationId

Required. The Intelligence Configuration identifier to execute the Rule within.

rule

No description in the specification.

ruleId

Required. The rule identifier to execute within the selected Intelligence Configuration.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.