Skip to main content

Overview

Once Attentive is connected, the Dema Agent can manage subscriptions and customer data directly inside a conversation — opt customers in or out of SMS/email subscriptions and look up subscription status by phone or email, record ecommerce events (add-to-cart, product view, purchase) that trigger Attentive journeys, set or read custom user attributes, send custom events to fire automations, and submit privacy/GDPR deletion requests. The agent only acts when you ask it to, and Dema asks you to confirm sensitive changes before they are applied.

Prerequisites

  • An Attentive account with access to the custom-app management page.
  • A custom app created in Attentive to obtain an API key (see below).

Connect Attentive

1

Create a custom app in Attentive to get an API key

  1. Log in to Attentive and open App Marketplace → custom-app management (ui.attentivemobile.com/integrations/custom-app/management).
  2. Click + Create App (top-right).
  3. Enter an app name (e.g. Dema Agent) and a contact email.
  4. In Permissions, set each API the agent needs to Write (each defaults to No Access): Custom Attributes, Custom Events, eCommerce, Privacy Request, Product Catalog, Subscribers.
  5. Click Create.
  6. In the Copy API key dialog, click Copy and save the key — it is shown only once.
The API key is shown only once. If you lose it, regenerate it in Attentive (Built by you tab → open the app → API key → Regenerate) and reconnect — regenerating invalidates the old key. Treat the key like a password.
2

Connect in Dema

In Dema, go to Agents → Settings → Integrations, find Attentive, and click Connect. Enter:
  • API key — the key you copied from Attentive.
Click Add. Dema marks the integration as Active.

Permissions to grant

Set each of these to Write when you create the custom app so the agent can read and act on your Attentive data:
PermissionWhat it covers
Custom AttributesRead and set custom user attributes
Custom EventsSend custom events that trigger journeys
eCommerceRecord add-to-cart, product view, and purchase events
Privacy RequestSubmit GDPR/deletion requests
Product CatalogRead product catalog data
SubscribersSubscribe and unsubscribe users; read subscription status

Troubleshooting

Each API defaults to No Access. Make sure you set every API the agent needs to Write when creating the app, then reconnect.
The key is shown only once. Regenerate it on the Built by you tab in Attentive, then reconnect in Dema with the new key.
Email api-tokens@attentivemobile.com to request access to the custom-app management page.
If you are still stuck, contact support with the error message you see.

Additional resources