Automation and Integration

Webhooks and Connectors

Connectors integrate CloudGrid with external services. Configure them declaratively in cloudgrid.yaml.

Available providers: Slack, Webhook (generic HTTPS).

Available events:

  • release.published — Platform release published
  • deploy.failed — Entity deploy failed
  • feedback.received — User feedback received on entity
  • entity.created — New entity created in the org

Example: Slack notifications on deploy failure

connectors:
  - id: ops-slack
    target: org

hooks:
  - on: deploy.failed
    via: ops-slack
    channel: "#alerts"
    template: "{entity} deploy failed: {error}"

Example: Inbound Slack commands

connectors:
  - id: ops-slack
    target: org

triggers:
  - from: ops-slack
    event: message
    channel: "#bot-commands"
    route: /webhooks/slack

Legacy hooks CLI

For quick webhook setup without modifying cloudgrid.yaml:

grid hooks add deploy.failed https://hooks.slack.com/... --app my-app
grid hooks list --app my-app
grid hooks remove <hook-id>
grid hooks deliveries --limit 10