Name: Automation Trigger
Identifier (ID): cerb.automation.trigger

Manifest


		<extension point="cerb.automation.trigger">
			<id>cerb.trigger.api.request</id>
			<name>api.request</name>
			<class>
				<file>api/automations/triggers/api.request.php</file>
				<name>AutomationTrigger_ApiRequest</name>
			</class>
			<params>
				<param key="description" value="Invoke an automation from the REST API with OAuth tokens"/>
				<param key="features">
					<value>
						<data key="inputs"/>
					</value>
				</param>
			</params>
		</extension>

Code


class ExampleExtension extends Extension_AutomationTrigger {
	protected function _getRecordTypeSuggestions()

	public function getAutocompleteSuggestions()

	public function getAutocompleteSuggestionsJson()

	public function getEditorToolbar()

	public function getEditorToolbarItems($toolbar)

	public function getEventPlaceholders()

	public function getEventToolbar()

	public function getEventToolbarItems($toolbar)

	public function getInputsMeta()

	public function getOutputsMeta()

	public function renderConfig($model)

	public function validateConfig($params, $error)

}

Extensions

automation.function cerb.trigger.automation.function
automation.timer cerb.trigger.automation.timer
behavior.action cerb.trigger.behavior.action
data.query cerb.trigger.data.query
interaction.internal cerb.trigger.interaction.internal
interaction.website cerb.trigger.interaction.website
interaction.worker cerb.trigger.interaction.worker
mail.draft cerb.trigger.mail.draft
mail.draft.validate cerb.trigger.mail.draft.validate
mail.filter cerb.trigger.mail.filter
mail.received cerb.trigger.mail.received
mail.reply.validate cerb.trigger.mail.reply.validate
mail.route cerb.trigger.mail.route
mail.send cerb.trigger.mail.send
mail.sent cerb.trigger.mail.sent
map.clicked cerb.trigger.map.clicked
portal.page cerb.trigger.portal.page
projectBoard.cardAction cerb.trigger.projectBoard.cardAction
projectBoard.renderCard cerb.trigger.projectBoard.renderCard
record.changed cerb.trigger.record.changed
record.merge cerb.trigger.record.merge
record.profile.viewed cerb.trigger.record.profile.viewed
reminder.remind cerb.trigger.reminder.remind
resource.get cerb.trigger.resource.get
scripting.function cerb.trigger.scripting.function
ui.chart.data cerb.trigger.ui.chart.data
ui.sheet.data cerb.trigger.ui.sheet.data
ui.widget cerb.trigger.ui.widget
webhook.respond cerb.trigger.webhook.respond
worker.authenticate.failed cerb.trigger.worker.authenticate.failed
worker.authenticated cerb.trigger.worker.authenticated