Send data from your Chatbot straight to ActiveCampaign. Keep all your customer data and insights in one place, and use with ActiveCampaign’s Customer Experience Automation to deliver personalized customer experiences at scale.
Usage
Start by getting your API Key and Url in the Developer Settings in your ActiveCampaign dashboard and installing the ActiveCampaign app in CSML Studio. You can also find some further information about the ActiveCampaign API and schemas here.
Create a new account
do account = App(
"activecampaign",
method="createAccount",
data={"account":{"fields":[{"customFieldId":"email","fieldValue":"john@doe.com"}],"name":"testAccount"}}
)
Update an existing account
do account = App(
"activecampaign",
method="updateAccount",
account_id="someID"
data={"account":{"fields":[{"customFieldId":"email","fieldValue":"john@doe.com"}],"name":"testAccount"}}
)
Retrieve an account
do account = App(
"activecampaign",
method="getAccount",
account_id="someID"
)
Delete an account
do App(
"activecampaign",
method="deleteAccount",
account_id="someID"
)