FoPost.Automation (FoPost v0.1.0)

Copy Markdown View Source

A trigger and the steps behind it.

:trigger_type is "cross_post", "rss_feed", "api_webhook", or "schedule". :secret comes back once, from FoPost.Automations.create/2, for an api_webhook trigger.

Summary

Types

t()

@type t() :: %FoPost.Automation{
  active: term(),
  created_at: term(),
  id: term(),
  last_triggered_at: term(),
  name: term(),
  raw: term(),
  run_count: term(),
  secret: term(),
  steps: term(),
  trigger_config: term(),
  trigger_type: term(),
  updated_at: term(),
  workspace_id: term()
}