<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>API Event Trigger</title><link>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>API Event Trigger</title><link>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger</link><pubDate>Mon, 24 Jun 2019 19:19:54 GMT</pubDate><guid isPermaLink="false">75e96a66-cb6c-4ee7-874b-e5700affcd9c</guid><dc:creator>Former Member</dc:creator><comments>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger#comments</comments><description>Current Revision posted to Developer Training by Former Member on 06/24/2019 19:19:54&lt;br /&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Verint Community exposes a rich set of events throughout the In-process API. These events are exposed to [[Plugins]] and [[Automations]] to build business logic.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Available_Events" name="Available_Events"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Available Events&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Events are specific to each entity type within the Verint Community platform and are registered for use by automations using [[Automation Event Definitions]]. In general, events are named related to the type of change and the time at which it occurs:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;BeforeCreate&lt;/strong&gt;.&amp;nbsp;This type of event occurs before a new item is created in the API. While the final identifier of newly created items may not be available during the BeforeCreate event, the BeforeCreate event provides editable properties in event arguments to support adjusting the data associated with the entity before it is created.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterCreate&lt;/strong&gt;. This type of event occurs after a new item is created in the API. The event arguments are read-only since the data associated with the item has already been committed. Identifiers for newly created items are available in AfterCreate.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BeforeUpdate&lt;/strong&gt;. Similar to BeforeCreate, this type of event occurs before an existing item is edited int he API. This event can be used to modify data associated with the item being updated before its changes are committed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterUpdate&lt;/strong&gt;. This type of event occurs after an edit of an item is committed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BeforeDelete&lt;/strong&gt;. This type of event occurs before an item is deleted.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterDelete&lt;/strong&gt;. This type of event occurs after an item has been deleted.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;In addition to these standard event types, there are special event types which can be used to interact with specific areas of the API. The full list of events exposed to automations can be reviewed in API Documentation.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Triggering_Automations_using_Events" name="Triggering_Automations_using_Events"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Triggering Automations using Events&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Automations can be triggered to execute logic when an API event occurs. To enable an automation to be triggered by one or more events,&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;On the automation&amp;#39;s &lt;strong&gt;Overview&lt;/strong&gt;, locate &lt;strong&gt;Triggers&lt;/strong&gt;, and check &lt;strong&gt;API Event Occurs&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Within the &lt;strong&gt;API Events&lt;/strong&gt; field, you can use type-ahead search to locate one or more events to handle. Events are named using the format ENTITY_TYPE.EVENT_NAME. To handle the AfterCreate event on Media, the full event name is &amp;quot;Media.AfterCreate&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;As events are selected, they are listed below the &lt;strong&gt;API Events&lt;/strong&gt; field and links to view documentation or remove the event from the automation are provided.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/event.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Using_Event_Triggers_in_Automation_Implementations" name="Using_Event_Triggers_in_Automation_Implementations"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Using Event Triggers in Automation Implementations&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;When any automation trigger occurs, including API events, the automation&amp;#39;s implementation script is executed. Details about the trigger are provided to the implementation script through the &lt;code&gt;context_v2_automationTrigger&lt;/code&gt; API. This API defines a few members that make interacting with events possible:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Entity&lt;/strong&gt;. For API event triggers, Entity identifies the entity type of the API Event. For the &amp;quot;Media.AfterCreate&amp;quot; API event, Entity would be set to &amp;quot;Media&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Event&lt;/strong&gt;. For API event triggers, Event identifies the event name. For the &amp;quot;Media.AfterCreate&amp;quot; API event, Event would be set to &amp;quot;AfterCreate&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Arguments&lt;/strong&gt;. Arguments provides access to the arguments provided by the event that triggered the automation and is specific to the entity and event that occurred. Review the documentation link on the API Events list on the automations Overview to get details about the arguments available with specific events. Generally, &amp;quot;Before&amp;quot; events expose editable arguments and &amp;quot;After&amp;quot; events expose read-only arguments.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;&lt;a id="Example_of_an_API_Event_Trigger" name="Example_of_an_API_Event_Trigger"&gt;&lt;/a&gt;Example of an API Event Trigger&lt;/h1&gt;
&lt;p&gt;Below is a simple example of utilizing an automation with an API event trigger. For this scenario, we would like to send a group invitation to a user when their account is created.&lt;/p&gt;
&lt;h2&gt;&lt;a id="Creating_the_Automation" name="Creating_the_Automation"&gt;&lt;/a&gt;Creating the Automation&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After&amp;nbsp;following the dialog in&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Administration &amp;gt; Automation &amp;gt; Automation Studio&lt;/strong&gt;&lt;span&gt;&amp;nbsp;to create a new&amp;nbsp;automation, we set the event to listen to. For this example we only need the &lt;strong&gt;User.AfterCreate&lt;/strong&gt; event.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/640x0/__key/communityserver-wikis-components-files/00-00-00-12-83/Automation_5F00_WelcomeGroup.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any instance of this automation will need to specify a group to add the users to, so in the Configuration section of our automation, we add an option for selecting a group.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;propertyGroup id=&amp;quot;options&amp;quot; labelText=&amp;quot;Options&amp;quot;&amp;gt;
    &amp;lt;property id=&amp;quot;groupId&amp;quot; labelText=&amp;quot;Group&amp;quot; descriptionText=&amp;quot;Specify which group the user will be added to.&amp;quot; dataType=&amp;quot;Custom&amp;quot; template=&amp;quot;core_v2_groupLookup&amp;quot; enableCurrent=&amp;quot;false&amp;quot; maxSelections=&amp;quot;1&amp;quot; /&amp;gt;
&amp;lt;/propertyGroup&amp;gt;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In the Implementation section of our automation, we can then retrieve this value before continuing execution.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;var groupId = core_v2_page.ParseQueryString(core_v2_widget.GetCustomValue(&amp;#39;groupId&amp;#39;, &amp;#39;&amp;#39;)).Value(&amp;#39;Group&amp;#39;);
if(groupId === &amp;#39;&amp;#39;) {
    return;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Since this automation is running in the context of an event happening, we also have access to the arguments of that event. In this case, we can retrieve the Id of the user who was created.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;var userId = context_v2_automationTrigger.Arguments.Id;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then we can create the invite using the GroupUserMember [[Scripting|scripting/widget API]].&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;var response = core_v2_groupUserMember.Create(groupId, userId, { GroupMembershipType: &amp;#39;PendingMember&amp;#39;, Message: &amp;#39;Welcome to the welcome group!&amp;#39; });&lt;/pre&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Configuring_an_Automation_Instance" name="Configuring_an_Automation_Instance"&gt;&lt;/a&gt;Configuring an Automation Instance&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Administration &amp;gt; Automation &amp;gt; Automations&lt;/strong&gt;&lt;span&gt;, we create a new Automation instance and specify the type. This then allows us to specify the configuration details we created the options for in our automation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/640x0/__key/communityserver-wikis-components-files/00-00-00-12-83/ConfiguredAutomation_5F00_WelcomeGroup.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Once the instance is saved,&amp;nbsp;the automation&amp;nbsp;will run each time&amp;nbsp;the event fires until all instances of this automation are disabled or deleted.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Source_code" name="Source_code"&gt;&lt;/a&gt;Source code&lt;/h2&gt;
&lt;p&gt;Full source is attached below.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.telligent.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/AddUsersToAGroupWhenTheyJoinTheSite_2D00_Automation.xml"&gt;community.telligent.com/.../AddUsersToAGroupWhenTheyJoinTheSite_2D00_Automation.xml&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>API Event Trigger</title><link>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger/revision/4</link><pubDate>Wed, 19 Jun 2019 19:35:21 GMT</pubDate><guid isPermaLink="false">75e96a66-cb6c-4ee7-874b-e5700affcd9c</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger#comments</comments><description>Revision 4 posted to Developer Training by Ben Tiedt on 06/19/2019 19:35:21&lt;br /&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Verint Community exposes a rich set of events throughout the In-process API. These events are exposed to [[Plugins]] and [[Automations]] to build business logic.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Available_Events" name="Available_Events"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Available Events&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Events are specific to each entity type within the Verint Community platform and are registered for use by automations using [[Automation Event Definitions]]. In general, events are named related to the type of change and the time at which it occurs:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;BeforeCreate&lt;/strong&gt;.&amp;nbsp;This type of event occurs before a new item is created in the API. While the final identifier of newly created items may not be available during the BeforeCreate event, the BeforeCreate event provides editable properties in event arguments to support adjusting the data associated with the entity before it is created.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterCreate&lt;/strong&gt;. This type of event occurs after a new item is created in the API. The event arguments are read-only since the data associated with the item has already been committed. Identifiers for newly created items are available in AfterCreate.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BeforeUpdate&lt;/strong&gt;. Similar to BeforeCreate, this type of event occurs before an existing item is edited int he API. This event can be used to modify data associated with the item being updated before its changes are committed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterUpdate&lt;/strong&gt;. This type of event occurs after an edit of an item is committed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BeforeDelete&lt;/strong&gt;. This type of event occurs before an item is deleted.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterDelete&lt;/strong&gt;. This type of event occurs after an item has been deleted.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;In addition to these standard event types, there are special event types which can be used to interact with specific areas of the API. The full list of events exposed to automations can be reviewed in API Documentation.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Triggering_Automations_using_Events" name="Triggering_Automations_using_Events"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Triggering Automations using Events&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Automations can be triggered to execute logic when an API event occurs. To enable an automation to be triggered by one or more events,&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;On the automation&amp;#39;s &lt;strong&gt;Overview&lt;/strong&gt;, locate &lt;strong&gt;Triggers&lt;/strong&gt;, and check &lt;strong&gt;API Event Occurs&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Within the &lt;strong&gt;API Events&lt;/strong&gt; field, you can use type-ahead search to locate one or more events to handle. Events are named using the format ENTITY_TYPE.EVENT_NAME. To handle the AfterCreate event on Media, the full event name is &amp;quot;Media.AfterCreate&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;As events are selected, they are listed below the &lt;strong&gt;API Events&lt;/strong&gt; field and links to view documentation or remove the event from the automation are provided.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/event.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Using_Event_Triggers_in_Automation_Implementations" name="Using_Event_Triggers_in_Automation_Implementations"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Using Event Triggers in Automation Implementations&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;When any automation trigger occurs, including API events, the automation&amp;#39;s implementation script is executed. Details about the trigger are provided to the implementation script through the &lt;code&gt;context_v2_automationTrigger&lt;/code&gt; API. This API defines a few members that make interacting with events possible:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Entity&lt;/strong&gt;. For API event triggers, Entity identifies the entity type of the API Event. For the &amp;quot;Media.AfterCreate&amp;quot; API event, Entity would be set to &amp;quot;Media&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Event&lt;/strong&gt;. For API event triggers, Event identifies the event name. For the &amp;quot;Media.AfterCreate&amp;quot; API event, Event would be set to &amp;quot;AfterCreate&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Arguments&lt;/strong&gt;. Arguments provides access to the arguments provided by the event that triggered the automation and is specific to the entity and event that occurred. Review the documentation link on the API Events list on the automations Overview to get details about the arguments available with specific events. Generally, &amp;quot;Before&amp;quot; events expose editable arguments and &amp;quot;After&amp;quot; events expose read-only arguments.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>API Event Trigger</title><link>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger/revision/3</link><pubDate>Wed, 19 Jun 2019 19:17:24 GMT</pubDate><guid isPermaLink="false">75e96a66-cb6c-4ee7-874b-e5700affcd9c</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger#comments</comments><description>Revision 3 posted to Developer Training by Ben Tiedt on 06/19/2019 19:17:24&lt;br /&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Verint Community exposes a rich set of events throughout the In-process API. These events are exposed to [[Plugins]] and [[Automations]] to build business logic.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Available_Events" name="Available_Events"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Available Events&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Events are specific to each entity type within the Verint Community platform. In general, events are named related to the type of change and the time at which it occurs:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;BeforeCreate&lt;/strong&gt;.&amp;nbsp;This type of event occurs before a new item is created in the API. While the final identifier of newly created items may not be available during the BeforeCreate event, the BeforeCreate event provides editable properties in event arguments to support adjusting the data associated with the entity before it is created.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterCreate&lt;/strong&gt;. This type of event occurs after a new item is created in the API. The event arguments are read-only since the data associated with the item has already been committed. Identifiers for newly created items are available in AfterCreate.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BeforeUpdate&lt;/strong&gt;. Similar to BeforeCreate, this type of event occurs before an existing item is edited int he API. This event can be used to modify data associated with the item being updated before its changes are committed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterUpdate&lt;/strong&gt;. This type of event occurs after an edit of an item is committed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BeforeDelete&lt;/strong&gt;. This type of event occurs before an item is deleted.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AfterDelete&lt;/strong&gt;. This type of event occurs after an item has been deleted.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;In addition to these standard event types, there are special event types which can be used to interact with specific areas of the API. The full list of events exposed to automations can be reviewed in API Documentation.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Triggering_Automations_using_Events" name="Triggering_Automations_using_Events"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Triggering Automations using Events&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Automations can be triggered to execute logic when an API event occurs. To enable an automation to be triggered by one or more events,&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;On the automation&amp;#39;s &lt;strong&gt;Overview&lt;/strong&gt;, locate &lt;strong&gt;Triggers&lt;/strong&gt;, and check &lt;strong&gt;API Event Occurs&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Within the &lt;strong&gt;API Events&lt;/strong&gt; field, you can use type-ahead search to locate one or more events to handle. Events are named using the format ENTITY_TYPE.EVENT_NAME. To handle the AfterCreate event on Media, the full event name is &amp;quot;Media.AfterCreate&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;As events are selected, they are listed below the &lt;strong&gt;API Events&lt;/strong&gt; field and links to view documentation or remove the event from the automation are provided.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/event.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Using_Event_Triggers_in_Automation_Implementations" name="Using_Event_Triggers_in_Automation_Implementations"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Using Event Triggers in Automation Implementations&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;When any automation trigger occurs, including API events, the automation&amp;#39;s implementation script is executed. Details about the trigger are provided to the implementation script through the &lt;code&gt;context_v2_automationTrigger&lt;/code&gt; API. This API defines a few members that make interacting with events possible:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Entity&lt;/strong&gt;. For API event triggers, Entity identifies the entity type of the API Event. For the &amp;quot;Media.AfterCreate&amp;quot; API event, Entity would be set to &amp;quot;Media&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Event&lt;/strong&gt;. For API event triggers, Event identifies the event name. For the &amp;quot;Media.AfterCreate&amp;quot; API event, Event would be set to &amp;quot;AfterCreate&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Arguments&lt;/strong&gt;. Arguments provides access to the arguments provided by the event that triggered the automation and is specific to the entity and event that occurred. Review the documentation link on the API Events list on the automations Overview to get details about the arguments available with specific events. Generally, &amp;quot;Before&amp;quot; events expose editable arguments and &amp;quot;After&amp;quot; events expose read-only arguments.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>API Event Trigger</title><link>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger/revision/2</link><pubDate>Tue, 18 Jun 2019 18:49:03 GMT</pubDate><guid isPermaLink="false">75e96a66-cb6c-4ee7-874b-e5700affcd9c</guid><dc:creator>Former Member</dc:creator><comments>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger#comments</comments><description>Revision 2 posted to Developer Training by Former Member on 06/18/2019 18:49:03&lt;br /&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Most of Verint Community&amp;rsquo;s core content APIs expose events related to content or core service actions such as creating, updating, and deleting. Much like a plugin can listen to and handle these events via the In-Process APIs, an automation can be triggered by these events as well. Trigger event details will be provided via the context_v2_automationTrigger API, and additional documentation can be found in-site when selecting this trigger option.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;img alt=" " border="0" src="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/event.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>API Event Trigger</title><link>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger/revision/1</link><pubDate>Fri, 14 Jun 2019 20:53:08 GMT</pubDate><guid isPermaLink="false">75e96a66-cb6c-4ee7-874b-e5700affcd9c</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/developer-training/65567/api-event-trigger#comments</comments><description>Revision 1 posted to Developer Training by Ben Tiedt on 06/14/2019 20:53:08&lt;br /&gt;
&lt;p&gt;TBD&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>