View Source ActiveCampaign.Contact.Automation (active_campaign v0.3.0)

Documentation for ActiveCampaign.Contact.Automation.

Link to this section Summary

Functions

Add a contact to an automation

Remove a contact from an automation

Retrieve an automation a contact is in

List all automations a contact is in

Link to this section Functions

Link to this function

add(contact_id, automation_id)

View Source
@spec add(integer(), integer()) :: {:ok, map()} | {:error, any()}

Add a contact to an automation

Link to this function

delete(contact_automation_id)

View Source
@spec delete(integer()) :: {:ok, map()} | {:error, any()}

Remove a contact from an automation

Link to this function

get(contact_automation_id)

View Source
@spec get(integer()) :: {:ok, map()} | {:error, any()}

Retrieve an automation a contact is in

@spec list() :: {:ok, map()} | {:error, any()}

List all automations a contact is in

examples

Examples

iex> ActiveCampaign.Contact.Automation.list()
{:ok, %{"contactAutomations" => [...], "meta" => %{}}}