Extensions
Extensions let your app embed functionality inside suite apps, declared
per surface in your manifest’s extensions object. The first supported
surface is automations — your app contributes triggers and actions to
the Automate workflow builder of every installing organization.
Declaring automations
Section titled “Declaring automations”"extensions": { "automations": [ { "key": "shipment-delivered", "kind": "trigger", "name": "Shipment delivered", "description": "Fires when a shipment reaches its destination.", "input_schema": { "type": "object", "properties": { "tracking_number": { "type": "string" } } } }, { "key": "create-shipment", "kind": "action", "name": "Create shipment", "webhook_url": "https://app.acme.com/hooks/automate", "input_schema": { "type": "object", "properties": { "address": { "type": "string" } } } } ]}- Triggers (
kind: "trigger") start workflows.input_schemadescribes your event payload (it drives the builder’s output-pill mapper). - Actions (
kind: "action") are steps a workflow can run. They require awebhook_url;input_schemarenders the step’s config form.
On install, your automations register into that org’s Automate builder under
the connector key app:<your app key>, grouped as a third-party app with
your icon.
Emitting trigger events
Section titled “Emitting trigger events”Your backend fires a trigger by calling Automate’s emitTriggerEvent
mutation with a client-credentials token (audience=automate — granted
automatically when your manifest declares a trigger):
mutation { emitTriggerEvent(input: { connector_key: "app:acme-tracker", trigger_key: "shipment-delivered", payload: { tracking_number: "1Z999…" } })}The event fans out to every enabled workflow in the token’s organization whose trigger matches; the mutation returns the number of runs started.
Receiving action calls
Section titled “Receiving action calls”When a workflow executes one of your actions, Automate POSTs JSON to your
webhook_url:
{ "app_key": "acme-tracker", "action_key": "create-shipment", "organization_id": "<org uuid>", "input": { "address": "…" }}Every call is signed. Verify it with your webhook signing secret (shown alongside your API credentials in the partner console):
X-GC-Timestamp: 1758040000X-GC-Signature: hex( HMAC-SHA256( "{timestamp}.{raw body}", webhook_secret ) )Reject requests with a bad signature or a stale timestamp (> 5 minutes).
Respond 2xx within 15 seconds; a JSON object body becomes the step’s output
(available to later steps), and non-2xx responses mark the step failed and
are retried by the engine.