ActiveCampaign Accounts
ActiveCampaign Accounts connects your flow to your ActiveCampaign account to work with accounts, which is what ActiveCampaign calls the companies or organizations you deal with. You can create an account, look up one or the full list, change its name or website, delete it, and link or unlink contacts.
It is useful when you work with business customers and want every contact person linked to their company in ActiveCampaign.
When to use it
- A quote request arrives from a new company and you want to create its account in ActiveCampaign.
- A new contact works at a company you already have and you want to link them to it.
- Every week you want to review the registered accounts to match them with your billing system.
- Someone leaves a customer company and you want to remove the link between the two.
Configuration
You need an ActiveCampaign credential with the API URL and the API key of your account. You find them in ActiveCampaign under Settings > Developer. See Credentials.
| Field | What it does |
|---|---|
| Credential (required) | The ActiveCampaign credential used to access your account. |
| Operation (required) | What the component does. See Operations. Default: Get Accounts. |
| Get By | Only in Get Accounts. By ID fetches one account and All fetches the list of accounts. Default: All. |
| Account ID | The account’s ID in ActiveCampaign. Required in Update Account, Delete Account, Add Contact to Account, Remove Contact from Account and in Get Accounts with By ID. |
| Account Name | The company’s name. Required in Create Account and Update Account. |
| Account URL | The company’s website. In Create Account and Update Account. |
| Limit | Only in Get Accounts with All. The maximum number of accounts to fetch. Default: 10. |
| Contact ID | The contact’s ID. Required in Add Contact to Account and Remove Contact from Account. |
Operations
| Operation | What it does |
|---|---|
Create Account | Creates a new account with its name and, if you fill it in, its website. |
Update Account | Changes the name and website of an existing account. |
Get Accounts | Fetches one account or the list of accounts. |
Delete Account | Deletes an account. |
Add Contact to Account | Links a contact to an account. |
Remove Contact from Account | Removes the link between a contact and an account. If they were not linked, the component returns an error. |
Output
The Data output returns the account you worked with, with its ID, name and website. With Get Accounts set to All you get one item per account. In Delete Account and Remove Contact from Account it returns a confirmation with the IDs used, and in Add Contact to Account the link that was created.
You can connect the result to another ActiveCampaign component or to an agent. The component can also be connected to an Agent as a tool, so the agent decides when to create or look up accounts. See Tool Mode.
Example
A marketing agency receives requests from companies through its website.
- The form reaches the flow with the company name, its website and the contact person’s details.
- Create the contact with ActiveCampaign Contacts.
- Add ActiveCampaign Accounts with
Create Accountand fill Account Name and Account URL. - Add another ActiveCampaign Accounts with
Add Contact to Account, using the Account ID of the new account and the contact’s Contact ID.
Good practices
- In
Update Account, fill in only what you want to change: a field left empty keeps its current value. - Keep the Account ID when you create an account: you need it to change it, delete it or link contacts to it.
Related components
- ActiveCampaign Contacts: create and find the contacts you link to an account.
- ActiveCampaign Deals: manage the deals with your customers.