Skip to main content
Was this helpful?

Action Reference

All action types available when building automation rules in PrimeCal.

Action Types

Enum ValueWire StringStatusDescription
SET_EVENT_COLORset_event_colorImplementedSets the event's color to a specific value
ADD_EVENT_TAGadd_event_tagDefinedAdds a tag/label to the event
SEND_NOTIFICATIONsend_notificationDefinedSends a notification to the user
UPDATE_EVENT_TITLEupdate_event_titleDefinedOverwrites the event's title
UPDATE_EVENT_DESCRIPTIONupdate_event_descriptionDefinedOverwrites the event's description
CANCEL_EVENTcancel_eventDefinedCancels/deletes the event
MOVE_TO_CALENDARmove_to_calendarDefinedMoves the event to a different calendar
CREATE_TASKcreate_taskDefinedCreates a task from the event
WEBHOOKwebhookImplementedSends a configurable HTTP request (method + optional auth) to a URL — also used for smart-home REST integrations
INSTANTIATE_ROUTINEinstantiate_routineImplementedStarts a routine template right now, the same as "Start now". Not yet in the action picker UI — create via the Automation API

Status legend:

  • Implemented: This action is active and can be used in your automation rules today.
  • Defined: This action type is planned for a future release. If you add it to a rule now, it will fail silently and be logged in the audit trail.

Action Config by Type

set_event_color

{
"color": "blue"
}

color must be a valid PrimeCal color identifier. Accepted values (hex or named):

NameHex
red#ef4444
orange#f59e0b
yellow#eab308
lime#84cc16
green#10b981
emerald#22c55e
teal#14b8a6
cyan#06b6d4
sky#0ea5e9
blue#3b82f6
indigo#6366f1
violet#7c3aed
purple#8b5cf6
pink#ec4899
rose#f43f5e
slate#64748b

webhook (outbound)

{
"url": "https://example.com/hook",
"method": "POST",
"headers": { "Authorization": "Bearer token" },
"body": { "eventId": "{{event.id}}" }
}

Note: Do not confuse with the webhook.incoming trigger (inbound). This action sends an outbound HTTP request.