<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Actions on CloudBolt Documentation</title>
		<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/</link>
		<description>Recent content in Actions on CloudBolt Documentation</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<atom:link href="https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Action context</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-context/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-context/</guid>
				<description>&lt;p&gt;Actions are one of the most powerful ways to extend CMP. Besides the action inputs you define, several CMP objects are available as context to any template-enabled action attribute, such as plugin source, a webhook payload, or an email hook body. To see which attributes can be templated for each type, see &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-types/&#34;&gt;Action types&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This context is also available outside actions, when custom YAML files provision Kubernetes objects. See &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/configure/infrastructure/container-orchestrators/&#34;&gt;Container orchestrators&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;built-in-context-by-use-case&#34;&gt;Built-in context by use case&lt;/h2&gt;&#xA;&lt;h3 id=&#34;single-server-action&#34;&gt;Single server action&lt;/h3&gt;&#xA;&lt;p&gt;Run by a user on an existing server.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Action types</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-types/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-types/</guid>
				<description>&lt;h2 id=&#34;the-six-action-types&#34;&gt;The six action types&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/plugins/&#34;&gt;CloudBolt Plugin&lt;/a&gt;: Runs a Python module on the Cloud Management Platform (CMP) server, with access to internal APIs.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/remote-scripts/&#34;&gt;Remote Script&lt;/a&gt;: Runs a script on the target servers rather than on the CMP server.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/file-copy/&#34;&gt;Copy File&lt;/a&gt;: Copies a file to the target servers. This type is marked Beta in the user interface.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/outbound-webhooks/&#34;&gt;Webhook&lt;/a&gt;: Makes a call into an external, web-based API.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/email-hooks/&#34;&gt;Email Hook&lt;/a&gt;: Sends an email.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/external-flows/&#34;&gt;External Flow&lt;/a&gt;: Runs a flow held in an external orchestrator.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;not-every-type-is-available-everywhere&#34;&gt;Not every type is available everywhere&lt;/h2&gt;&#xA;&lt;p&gt;The types available when you create an action depend on where you create it. CloudBolt Plugin is always available. The others are offered conditionally:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Action input parameters</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-input-parameters/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-input-parameters/</guid>
				<description>&lt;p&gt;CMP scans the actions you define to determine whether the action needs additional input in order to run. This process is covered in more detail in the documentation for each &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-types/&#34;&gt;action type&lt;/a&gt;. CMP then prompts users for those inputs, or substitutes pre-designated default values where appropriate.&lt;/p&gt;&#xA;&lt;p&gt;CMP does not create action inputs for template variables that start with the keyword server, such as &lt;strong&gt;{{ server.ip }}&lt;/strong&gt;. For the full list of context keys, see &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-context/&#34;&gt;Action context&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Action retries</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-retries/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-retries/</guid>
				<description>&lt;p&gt;Every base action has a &lt;strong&gt;max retries&lt;/strong&gt; value: the maximum number of times to retry the action if it fails. Whenever the action runs and returns an unsuccessful status or raises an exception, Cloud Management Platform (CMP) retries it up to that number of times. This is useful for actions that interact with a flaky external system.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://docs.cloudbolt.io/img/cmp/use/orchestration/actions/action-retries/edit-plugin.png&#34; class=&#34;cb-image-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34; title=&#34;Open full-size image in a new tab&#34;&gt;&lt;img src=&#34;https://docs.cloudbolt.io/img/cmp/use/orchestration/actions/action-retries/edit-plugin.png&#34; alt=&#34;Screenshot of an edit plugin form with Max retries highlighted.&#34; loading=&#34;lazy&#34;&gt;&lt;span class=&#34;visually-hidden&#34;&gt; (opens full-size image in a new tab)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Export and import actions</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/export-and-import/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/export-and-import/</guid>
				<description>&lt;p&gt;Actions can be exported as files so they can be reused across Cloud Management Platform (CMP) instances or shared in the &lt;a href=&#34;https://github.com/CloudBoltSoftware/cloudbolt-forge&#34;&gt;CloudBolt Forge&lt;/a&gt;, a repository of sample CMP resources. An exported action is a zip file containing JSON-formatted metadata about the action, along with any scripts it uses.&lt;/p&gt;&#xA;&lt;h2 id=&#34;exporting&#34;&gt;Exporting&lt;/h2&gt;&#xA;&lt;p&gt;When exporting, choose between a sanitized and an instance-specific version of the action. The formats are the same, but the sanitized version omits potentially sensitive information such as script credentials, environments, and groups. Sanitized versions are suitable for sharing on the CloudBolt Forge or for moving actions between instances that do not have the same groups and environments.&lt;/p&gt;</description>
			</item>
			<item>
				<title>File copy actions</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/file-copy/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/file-copy/</guid>
				<description>&lt;p&gt;A file copy action sends a text or binary file to the servers in context, which is useful for both servers being provisioned and existing ones. File copy actions can be used in blueprints, as server actions, and as orchestration actions. The action type appears as &lt;strong&gt;Copy File&lt;/strong&gt; and is marked as Beta in the user interface.&lt;/p&gt;&#xA;&lt;h2 id=&#34;file-copy-action-fields&#34;&gt;File copy action fields&lt;/h2&gt;&#xA;&lt;p&gt;In addition to the fields common to all actions, a file copy action has the following:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Resource actions</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/resource-actions/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/resource-actions/</guid>
				<description>&lt;p&gt;A resource action puts a button on the detail page of a deployed resource. When a user selects it, it runs an action of any of the &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-types/&#34;&gt;six action types&lt;/a&gt;. Administrators create them in Cloud Management Platform (CMP) at &lt;strong&gt;Admin&lt;/strong&gt; &amp;gt; &lt;strong&gt;Resource Actions&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-resource-actions-can-do&#34;&gt;What resource actions can do&lt;/h2&gt;&#xA;&lt;p&gt;A resource action can run scripts on all or a subset of the server tiers in the resource, call an integration, email users, or run code that reads and writes information to and from the resource via the CMP database. Browse the &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/catalog/content-library/&#34;&gt;Content Library&lt;/a&gt; or the &lt;a href=&#34;https://github.com/CloudBoltSoftware/cloudbolt-forge&#34;&gt;CloudBolt Forge&lt;/a&gt; to see examples.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Server actions</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/server-actions/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/server-actions/</guid>
				<description>&lt;p&gt;A server action appears as a button on a server&amp;rsquo;s detail view and runs an action of any of the &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/action-types/&#34;&gt;six action types&lt;/a&gt;. When a user runs one, Cloud Management Platform (CMP) prompts for any inputs the action needs and then creates a job to run it asynchronously. The job also serves as the audit trail of who ran what, against which server, and when. The equivalent for deployed resources is a &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/resource-actions/&#34;&gt;resource action&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Scheduling actions</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/scheduling/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/scheduling/</guid>
				<description>&lt;p&gt;Scheduling is off by default. Enable it on the action, and users then get a choice of running now or later each time they launch it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;enable-scheduling&#34;&gt;Enable scheduling&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Go to &lt;strong&gt;Admin&lt;/strong&gt; &amp;gt; &lt;strong&gt;Server Actions&lt;/strong&gt; or &lt;strong&gt;Admin&lt;/strong&gt; &amp;gt; &lt;strong&gt;Resource Actions&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://docs.cloudbolt.io/img/cmp/use/orchestration/actions/scheduling/server-actions.png&#34; class=&#34;cb-image-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34; title=&#34;Open full-size image in a new tab&#34;&gt;&lt;img src=&#34;https://docs.cloudbolt.io/img/cmp/use/orchestration/actions/scheduling/server-actions.png&#34; alt=&#34;Screenshot of the Server Actions page.&#34; loading=&#34;lazy&#34;&gt;&lt;span class=&#34;visually-hidden&#34;&gt; (opens full-size image in a new tab)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Select an action.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Select the &lt;strong&gt;Edit&lt;/strong&gt; button.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Clear &lt;strong&gt;Synchronous Action&lt;/strong&gt; if selected, and select &lt;strong&gt;Allow scheduling&lt;/strong&gt;. Synchronous actions run inline and cannot be deferred.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://docs.cloudbolt.io/img/cmp/use/orchestration/actions/scheduling/allow-scheduling.png&#34; class=&#34;cb-image-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34; title=&#34;Open full-size image in a new tab&#34;&gt;&lt;img src=&#34;https://docs.cloudbolt.io/img/cmp/use/orchestration/actions/scheduling/allow-scheduling.png&#34; alt=&#34;Screenshot of a server action edit modal.&#34; loading=&#34;lazy&#34;&gt;&lt;span class=&#34;visually-hidden&#34;&gt; (opens full-size image in a new tab)&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Select &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
			</item>
			<item>
				<title>Email hooks</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/email-hooks/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/email-hooks/</guid>
				<description>&lt;p&gt;An email hook is an action type, so it can be attached anywhere other actions can. Its subject and body are templates, which lets a single hook produce a message tailored to the job that fired it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;email-hook-fields&#34;&gt;Email hook fields&lt;/h2&gt;&#xA;&lt;p&gt;In addition to the fields common to all actions, such as name and description, an email hook has the following. None of them are required.&lt;/p&gt;&#xA;&lt;div class=&#34;table-scroll&#34;&gt;&#xA;&lt;div class=&#34;table-responsive&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;Field&lt;/th&gt;&#xA;          &lt;th&gt;Description&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Subject&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;The subject line of the email.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Body&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;The body of the email.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;From Address&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;The address the email is sent from. If it is empty, CMP uses &lt;strong&gt;Email default from address&lt;/strong&gt; from &lt;strong&gt;Admin&lt;/strong&gt; &amp;gt; &lt;strong&gt;Email Settings&lt;/strong&gt;.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Send to Users&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;Choose from all users in your instance, including those imported from LDAP. The email goes to the address shown on each user&amp;rsquo;s detail page.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Send to Address&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;A comma-separated list of recipient addresses. It accepts templated addresses, such as &lt;code&gt;{{ server.owner.user.email }}&lt;/code&gt;.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;strong&gt;Send to Job Owner&lt;/strong&gt;&lt;/td&gt;&#xA;          &lt;td&gt;When selected, the email goes to the owner of the job the hook is attached to. The job details page shows each job&amp;rsquo;s owner.&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;The &lt;strong&gt;Subject&lt;/strong&gt;, &lt;strong&gt;From Address&lt;/strong&gt;, and &lt;strong&gt;Body&lt;/strong&gt; fields can all be templated using &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/configure/order-forms-and-pricing/parameters/parameter-templates/&#34;&gt;parameter templates&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Outbound webhooks</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/outbound-webhooks/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/outbound-webhooks/</guid>
				<description>&lt;p&gt;An outbound webhook is an action of the &lt;strong&gt;Webhook&lt;/strong&gt; type. It integrates CMP with external systems that expose a web-based API, typically REST. Use one to post a message to a channel whenever a particular blueprint is deployed, create an entry in a CMDB when a new server is built, or enable and disable monitoring when a user selects a button on the server details page.&lt;/p&gt;&#xA;&lt;div class=&#34;alert alert-info&#34; role=&#34;alert&#34;&gt;&#xA;&lt;p&gt;To let an external system call CMP instead, see &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/inbound-webhooks/&#34;&gt;Inbound webhooks&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
			</item>
			<item>
				<title>Inbound webhooks</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/inbound-webhooks/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/inbound-webhooks/</guid>
				<description>&lt;p&gt;An inbound webhook adds a URL to the CMP API that runs a plugin you write. It also offers a simpler authentication option, which makes CMP easier to call from external systems.&lt;/p&gt;&#xA;&lt;div class=&#34;alert alert-info&#34; role=&#34;alert&#34;&gt;&#xA;&lt;p&gt;To have CMP call an external API instead, see &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/outbound-webhooks/&#34;&gt;Outbound webhooks&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;why-use-inbound-webhooks&#34;&gt;Why use inbound webhooks&lt;/h2&gt;&#xA;&lt;p&gt;You may want another system to call into the CMP API to fetch information or perform an action: a chatbot that reports how many VMs and public cloud accounts CMP manages, for example, or one that kicks off provisioning of a development environment when someone asks for it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>External flows</title>
				<link>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/external-flows/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://docs.cloudbolt.io/docs/cmp/use/orchestration/actions/external-flows/</guid>
				<description>&lt;p&gt;An external flow is an action type that invokes an &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/external-orchestrators/&#34;&gt;external orchestrator&lt;/a&gt;. Once a flow is mapped to an action, it can be used anywhere an action can be used: at an orchestration trigger point, as part of a blueprint deployment, or from a server&amp;rsquo;s details page.&lt;/p&gt;&#xA;&lt;h2 id=&#34;set-up-an-external-flow&#34;&gt;Set up an external flow&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Configure an &lt;a href=&#34;https://docs.cloudbolt.io/docs/cmp/use/orchestration/external-orchestrators/&#34;&gt;external orchestrator&lt;/a&gt; and import one or more of its flows.&lt;/li&gt;&#xA;&lt;li&gt;Create actions in CMP that map to those flows.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;alert alert-info&#34; role=&#34;alert&#34;&gt;&#xA;&lt;p&gt;The &lt;strong&gt;External Flow&lt;/strong&gt; action type is offered only when the external orchestrators feature is active and at least one orchestration engine is configured. If you do not see it when creating an action, check both.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
			</item>
	</channel>
</rss>
