Overview
The Apten Power Automate connector enables you to automate lead engagement workflows directly from Microsoft Power Automate. You can create leads, send messages, and manage lead status without leaving the Power Platform. Use cases include:- Automatically create leads in Apten when new contacts appear in SharePoint, Dynamics 365, or other systems
- Send follow-up messages based on triggers from your CRM or email
- Sync lead status between Apten and your other business applications
Prerequisites
Before getting started, ensure you have:- Power Automate account with Premium license - Custom connectors require a Power Automate Premium license ($15/user/month) or a Per Flow license
- Apten account with API access - Contact your Apten account manager if you need API access enabled
- Apten API key - See the next section for how to obtain one
Getting Your API Key
To use the Apten connector, you need an API key from your Apten dashboard:- Log in to your Apten dashboard at platform.attent.app
- Navigate to Developer Portal in the left sidebar
- Under “Generate New API Key”, give your key a descriptive name (e.g., “Power Automate Integration”)
- Click “Request API Key”
- Copy the generated API key
Importing the Connector
Download the solution
Download the Apten connector solution:
Open Power Automate
Go to make.powerautomate.com
Creating a Connection
Before using the connector in a flow, you need to create a connection with your API key:- In Power Automate, go to Data > Connections
- Click + New connection
- Search for “Apten” and select the Apten connector
- Enter your API key when prompted
- Click Create
Available Actions
The Apten connector provides 20 actions organized into four categories.Lead Management
Create Lead
Create Lead
Creates a new lead in Apten with the specified contact information.
- Required: Customer Profile, First Name, Phone
- Optional: Last Name, Email, Timezone, Additional Info
- Returns: Lead ID
Get Lead
Get Lead
Retrieves details about an existing lead.
- Required: Lead ID
- Returns: Lead details (name, phone, email, status, tags, etc.)
Update Lead
Update Lead
Updates an existing lead’s information.
- Required: Lead ID
- Optional: Email, Timezone, Additional Info, Follow-up Config, Follow-up Step
- Returns: Confirmation
Delete Lead
Delete Lead
Permanently deletes a lead.
- Required: Lead ID
- Returns: Confirmation
Lead Lookup
Lead Lookup
Finds a lead by their phone number.
- Required: Phone
- Returns: Lead ID if found
Resubscribe Lead
Resubscribe Lead
Resubscribes a lead who previously opted out, allowing messages to be sent again.
- Required: Lead ID
- Returns: Confirmation
Messaging & Engagement
Send Message
Send Message
Sends a message to a lead via SMS.
- Required: Lead ID, Message
- Optional: Scheduled Time, Send When Off, Override Business Hours
- Returns: Confirmation
Get Messages
Get Messages
Retrieves the message history for a lead.
- Required: Lead ID
- Returns: Array of messages with content, timestamp, and sender
Turn On Lead
Turn On Lead
Enables AI-powered messaging for a lead.
- Required: Lead ID
- Returns: Confirmation
Turn Off Lead
Turn Off Lead
Disables AI-powered messaging for a lead.
- Required: Lead ID
- Returns: Confirmation
Add Context
Add Context
Adds contextual information to help the AI better engage with the lead.
- Required: Lead ID, Context
- Returns: Confirmation
Add Event
Add Event
Records an event that occurred for the lead (e.g., “clicked email link”).
- Required: Lead ID, Event
- Returns: Confirmation
Switch Customer Profile
Switch Customer Profile
Changes the customer profile (campaign/persona) for a lead.
- Required: Lead ID, New Customer Profile
- Optional: Resend First Touch, Reset Follow-up
- Returns: Confirmation
Tags
Get Organization Tags
Get Organization Tags
Add Tags
Add Tags
Replace Tags
Replace Tags
Remove Tags
Remove Tags
Do Not Contact (DNC)
Register DNC
Register DNC
Adds a phone number to the Do Not Contact list.
- Required: Phone Number
- Returns: Confirmation
Get DNC
Get DNC
Checks if a phone number is on the DNC list.
- Required: Phone Number
- Returns: DNC status and date added (if on list)
Delete DNC
Delete DNC
Removes a phone number from the DNC list.
- Required: Phone Number
- Returns: Confirmation
Example Flow
Here is a simple example flow that creates a lead in Apten when a new item is added to a SharePoint list.Scenario
When a new contact is added to a “New Leads” SharePoint list, automatically create a corresponding lead in Apten.Steps
- Create a new flow in Power Automate
-
Add trigger: Search for “SharePoint” and select When an item is created
- Site Address: Select your SharePoint site
- List Name: Select your “New Leads” list
-
Add action: Search for “Apten” and select Create Lead
- Customer Profile: Enter your Apten profile name (e.g., “sales-outreach”)
- First Name: Select the First Name column from SharePoint (dynamic content)
- Last Name: Select the Last Name column from SharePoint
- Phone: Select the Phone column from SharePoint
- Email: Select the Email column from SharePoint
- Save your flow
Troubleshooting
Invalid API Key (401 Unauthorized)
Invalid API Key (401 Unauthorized)
Lead Not Found (404)
Lead Not Found (404)
Solution:
- Verify the Lead ID is correct
- Ensure the lead has not been deleted
- Use the Lead Lookup action to find a lead by phone number
Invalid Phone Number (400)
Invalid Phone Number (400)
Solution:
- Use E.164 format for phone numbers (e.g., +15551234567)
- Include the country code
- Remove spaces, dashes, and parentheses
Rate Limiting (429)
Rate Limiting (429)
Solution:
- Add a delay between actions in your flow
- Reduce the frequency of your automated workflows
- Contact Apten support if you need higher rate limits
Connection Failed
Connection Failed
Solution:
- Check your internet connection
- Verify the Apten API is accessible
- Ensure your API key is valid and has not expired
- Try creating a new connection
Missing Required Fields (400)
Missing Required Fields (400)
Solution:
- Review the required fields for the action
- Ensure all required fields have values (not empty or null)
- Check that dynamic content is properly mapped
Support
If you encounter issues not covered in this guide, contact us at [email protected]. When contacting support, please include:- Your flow ID or screenshot
- The error message you received
- The action that failed

