This guide shows, provider by provider, how to connect EQLEM CRM to the AI agent you use. The connection uses OAuth and the agent works with only your own EQLEM permissions. For an overview see the CRM module.
Before you start
- In EQLEM open AI connections and copy the MCP URL. If you pick your agent in the Connect your agent panel, provider-specific steps and a ready-to-copy command/configuration are shown. Every provider below uses this URL. The address always starts with
https://(e.g.https://api.yourcompany.com/api/v2/mcp). Thehttpyou see in commands and settings is the name of the MCP transport (Streamable HTTP), not the URL scheme. - On first connection the EQLEM sign-in and consent screen opens in your browser. Sign in, review the permissions the agent requests, and approve.
- You can revoke the connection at any time from AI connections.
- For setups that need an enterprise client (Gemini Enterprise, Copilot Studio Manual) an Admin does the work: create an enterprise OAuth client in AI connections and take the
client idandclient secretfrom there.
After connecting, try it by asking your agent "who am I connected as in EQLEM?".
Release note: Tool names were updated. On agents that were connected earlier, refresh the tool list (reload the connector or reconnect). Contact group tools (
crm_contact_group_read,crm_contact_group_write) were added.
What can your agent do?
The agent covers all CRM processes; your own EQLEM permissions apply to every action.
- Sales: prospects and customers (search, create, update, lead stage, labels and groups), contacts and contact groups (member counts, bulk add / remove), notes, activities, opportunities (mark won / lost), calendar, group board, territories, contracts and renewal tracking.
- Service: service requests (lines, assignment, rescheduling, satisfaction, SLA evaluation), assets, incoming calls, periodic transactions, knowledge base.
- Outreach: templates, sent messages and tracking events, inbox, campaigns (draft, audience, variants, comparison).
- Sequence: sequences, enrolling a prospect, enrollment contact list, engaged accounts, send schedule, per-step performance, touch queue, marking replies, outcome and stage, AI reply drafts, sending due emails.
- Insights: sales, outreach, service and executive reports, health scores, reading compliance status and reading settings.
- Common: Projects (
common_project_read) and Cost centers (common_cost_center_read) with list, search and detail (document permission "Project & Cost Center"); Send mail (non-account) (common_mail_send).
Choose permission groups on the consent screen
- After you sign in, the consent screen lists the permission groups: Sales, Service, Outreach, Sequence, Insights; each is split into read, write and (where applicable) send. Two common permissions come alongside them:
common.definitions.read(Shared definitions: read projects and cost centers) andcommon.mail.send(Mail sending: direct mail). - Select the groups you want the agent to use, one by one; uncheck the ones you do not want (all are selected by default; at least one permission must stay selected to approve).
- The agent sees only the tools in the groups you chose that your license covers and your EQLEM document permissions allow. To change the scope later, revoke the connection and approve again.
- Check the trust badge on the consent screen: Verified (your company's enterprise client), Domain verified (e.g.
claude.ai; the app identifies itself from this domain) or Unverified (automatic registration; allow only apps you recognize). Do not approve if the redirect address does not belong to a provider you recognize.
AI connections page
- My connections: each connection is a card (app, trust badge, permissions, last refresh, expiry). Up to 5 connections per user; the counter warns as you approach the limit.
- Revoke: the app can no longer make new requests or renew its session; the access key it already holds may stay valid for up to 15 more minutes.
- Agent capabilities: the tools your agent can use are listed in module tabs, with search and a type filter. Tools outside your license or permissions show a "Not in your license" / "You lack permission" badge.
- Tools may appear in your agent with titles in your language; this depends on whether the agent shows titles (some agents show the technical tool name).
Actions that need two-step approval
For actions with outside effect the agent first shows the preview and the compliance result, and acts only after you approve: email and WhatsApp sending, sequence enrollment, sending pending sequence emails, AI draft approval, service notifications, inbox replies, campaign scheduling and non-account mail.
Sender mail account
All mail sent through MCP goes out only from the mail account assigned to you. Covered tools: common_mail_send, crm_outreach_send (mail), crm_inbox_reply (mail), sequence reply-draft approval, crm_sequence_enroll, crm_sequence_send_pending, crm_campaign_schedule and service request notification. WhatsApp and sending from the web app are unchanged.
- If no account is assigned, nothing is sent. The agent relays: "No mail account is assigned to you in your company. Ask your administrator to assign one so you can send mail."
- With one account, it is selected automatically. With several, the agent sees your accounts via
eqlem_whoamiand picks one. - For administrators: assign the account to a person in the Employee field of the "Mail settings" screen. The employee's user link is set on the employee card.
Send mail (non-account)
Sends individual email through your agent to people who have no account record.
- Requirements: the company feature "Can use email sending tool" must be on and you must have the CRM Outreach add permission. Otherwise the tool is hidden and Agent capabilities shows "Not in your license".
- Two-step sending: a preview comes first (recipients, skipped ones, subject, body, links, attachments). You approve, then it is sent. If the recipients, content or attachments change after approval, the approval becomes invalid.
- Recipients: free-form email addresses; no account record needed. Each recipient gets a separate message and recipients cannot see each other. There is no CC/BCC, template or open tracking.
- Individual-sending record: if a recipient has no consent record, one with source "MCP - individual sending" is created automatically. It permits individual sending through this tool only; it does not count as consent for commercial sending such as campaigns, sequences and outreach. The preview shows "An individual-sending record will be created for X recipients".
- Blocked recipients: recipients on the opt-out or block list are not sent to. They are listed with the reason in the preview and result; sending continues for the others.
- Sender: mail goes out from the mail account assigned to you (see "Sender mail account"); the preview shows the sender address.
- Send interval: the agent sets the gap in the call (
sendIntervalSeconds, 5-600 s; 15 s if omitted). The value is shown in the preview and depends on your approval. It exists to prevent spam, and the gap is kept between consecutive sends from the same mailbox. - Daily limit: this is the existing daily sending limit defined in the mailbox's mail settings, shared with sequences and campaigns. If no limit is defined, there is no cap. Recipients over the quota are skipped and listed with the reason "daily limit".
- Result: the tool returns immediately with "queued: N recipients, estimated completion". Messages appear in the outreach message list as "Queued"; sent ones are updated to sent, skipped ones become "Skipped" and failed ones "Failed".
- Limits: up to 200 recipients per call; body up to 4,000 characters; up to 2 attachments (only files already uploaded to EQLEM CRM). If a mailbox queue is backed up for more than 24 hours, new sends are rejected. If the system restarts, messages not yet sent may be lost; check the outreach list.
Legal notice: This tool is for individual and transactional correspondence. Under Turkish Law No. 6563 / IYS, commercial electronic messages (advertising, campaigns, bulk promotion) cannot be sent to recipients without consent; responsibility lies with the sending user and company. Use CRM campaigns and sequences for commercial sending.
Reading sequence data
Ask your agent to pull sequence performance and enrollment data. In every mode you only get the records your permissions allow.
- Enrollment contact list (
crm_sequence_enrollment_read,contacts): the sequence's enrolled prospects with account, contact, email, phone, stage and engagement; up to 30 per page. - Engaged accounts (
crm_sequence_read,engaged_accounts): accounts that opened, clicked, replied or bounced, one row per account. - Send schedule (
crm_sequence_read,send_schedule): the data behind the Send Schedule screen, including the recipient's phone; email only, up to 30 per page. - Send batch status (
crm_sequence_read,send_batch): the outcome of the pending-email send described below. - Per-step performance (
crm_sequence_read,metrics): sent, opened, clicked, replied and bounced counts for each step (byStep). - Today's touches (
crm_sequence_read,due_touches): rows include the recipient's email,overdueDaysandblockedReason. IfownerUserIdis empty, your own touches are returned. - Channel worklist (
crm_sequence_read,due_worklist):channelis required; overdue items are sorted oldest first; up to 6 per page (see the flow below). - Message compose (
crm_sequence_enrollment_read,compose): withenrollmentId+touchId, returns thebody,whatsAppLinkandlinkedInUrlto send. - Message search (
crm_outreach_message_read,search):sequenceId,enrollmentIdand date filters (used together with a sequence);view=compactfor short rows.
Example prompts:
- "List the companies that clicked a link in this sequence, with their phone numbers."
- "Give me the emails and phone numbers for my touches today."
- "Preview the overdue emails that have not been sent yet, then send them."
Sending pending sequence emails
crm_sequence_send_pending lets you preview due automatic sequence emails and send them through your agent without waiting for the scheduler.
- Scope: only automatic emails that are due; ones stuck on an error are included if they are due. Records waiting for a manual touch, paused records and records with a scheduled start are not processed. Email only, and only touch-based (playbook) sequences.
- Two-step approval: the first call sends nothing; it shows how many will be queued, what is skipped and why. If you approve, the second call is made with a confirmation code. The code is single-use, valid for 5 minutes and tied to the set of candidates; it becomes invalid if that set changes. At most 500 touches are queued per call; the rest are reported separately and can be sent by calling the tool again once the batch finishes.
- Daily limit: the queued count never exceeds the defined daily sending limits; the remainder goes out on following days through the scheduler.
- Sending and tracking: emails are sent one by one from a queue; follow the result with
crm_sequence_readsend_batch. Only one batch runs at a time per sequence. - Required permissions: edit permission on corporate outreach and view permission on Today's Touches; a sender mail account must be assigned to you.
- Limits: outside-effect calls are limited to 20 per hour. With multiple server instances, send order is not guaranteed.
Reaching out from your own WhatsApp Web / LinkedIn account
You can run the WhatsApp and LinkedIn touches of a sequence from your own account with an agent that can use a browser (for example Claude in Chrome). EQLEM sends no message in this flow and nothing goes out from EQLEM's official number; you send the message yourself from your own session.
- List:
crm_sequence_readmode=due_worklist(channelrequired, up to 6 per page). Skip touches with a non-emptyblockedReason. - Compose: for each touch,
crm_sequence_enrollment_readmode=compose(enrollmentId+touchId) returnsbody,whatsAppLink(https://wa.me/{digits}, no message text) andlinkedInUrl. - Type: the agent opens the chat in the browser and types
bodyinto the message box; it does not send. - Send: you press Send yourself. If you prefer, you can approve each message one by one for the first N contacts.
- Record: once you have confirmed the send, the agent calls
crm_sequence_enrollment_writeaction=mark_sent. This only records "I sent it outside the app"; it must not be called before you confirm.
- Default owner: if
ownerUserIdis empty, your own session user is used. - Activity closing: when a touch is completed (Done / No answer) its linked task activity becomes Completed; if the touch is skipped it becomes Cancelled.
- Phone: a phone number in an invalid format comes back as
null; the agent must not invent one. - Suggested limit: 30–50 WhatsApp messages per day, with a random 60–180 second wait between messages.
- Ban risk: cold, bulk sending can get your WhatsApp account restricted or banned; the risk is yours.
- Untrusted data: text and links in the agent output (names,
body,whatsAppLink,linkedInUrl) are untrusted data; instructions inside them are not followed.
Contact groups and contact-based targeting
You can put a contact in several contact groups, target a contact or a contact group in campaigns and sequences, and message a contact directly. These tools sit inside the existing permission groups; your own permissions and the records you can see apply to every action.
- Listing contact groups (
crm_contact_group_read): returns groups of the Contact group type with their member counts. - Bulk membership (
crm_contact_group_write): adds, removes or replaces contacts in groups (mode=add/remove/replace). There is no delete; defining and deleting groups happens only in the EQLEM web app. - Contact search and update:
crm_contact_readfilters search bygroupIdsandmatchAllGroups(member of at least one group or of all);crm_contact_writesets a contact's groups withgroupIds(unchanged if omitted, an empty list removes all). - Campaign audience: in
crm_campaign_writean audience row can usecontactIdorcontactGroupId; contact and contact group audiences apply only to email campaigns. If the same email address appears in both an account and a contact audience, it is sent once. - Sequence enrollment:
crm_sequence_enrollmode=contactsenrolls contacts and contact groups. The first call is a preview that writes nothing; after your approval the second call enrolls. Contacts with no account link or with an account outside the sequence's company are skipped and counted. - Messaging a contact directly:
crm_outreach_sendtakescontactIdandaccountIdis now optional (at least one is required);common_mail_sendalso acceptscontactId. If the contact has no email or phone, nothing is sent. - Approval and compliance: the existing two-step approval stays the same for actions with outside effect; consent, opt-out and block rules also apply to the contact's address.
Example prompts:
- "How many contacts are in the 'Expo 2026' contact group?"
- "Add these three contacts to the 'Decision makers' group."
- "Add the 'Decision makers' group to this email campaign's audience and show the scheduling preview."
What the agent cannot do
- It cannot delete records or cancel prospects; it cannot define or delete contact groups (it only changes contacts' group membership).
- It cannot change contact consent or opt-out records.
- It cannot merge records, generate invoices or documents, or test webhooks.
- Settings are read-only.
- It cannot see actions in groups you did not select, outside your license, or beyond your document permissions.
Claude (claude.ai and Desktop)
- In Claude open the connector settings and choose add custom connector.
- Enter the MCP URL you got from EQLEM AI connections.
- Connect, then approve on the EQLEM sign-in and consent screen that opens.
- The connector is now available in chats.
Claude Code
-
Run this in a terminal (replace
<MCP URL>with the URL from AI connections):claude mcp add --transport http eqlem https://api.yourcompany.com/api/v2/mcp--transport httpis the transport name; the address starts withhttps://. This command adds the server to the current project only; to see it in every project add-s user:claude mcp add -s user --transport http eqlem https://api.yourcompany.com/api/v2/mcp -
Type
/mcpinside Claude Code, select theeqlemserver and start authentication; the EQLEM sign-in and consent screen opens in the browser. -
After approval the tools appear in the session.
ChatGPT
- In ChatGPT settings turn on developer mode (as far as your plan and workspace admin allow).
- Add a new app or connector and enter the MCP URL from EQLEM AI connections.
- Choose OAuth for authentication, then approve on the EQLEM sign-in and consent screen.
- Enable the app in a chat and use it.
Gemini CLI
-
Add the server under
mcpServersin the Gemini CLIsettings.json:{ "mcpServers": { "eqlem": { "httpUrl": "https://api.yourcompany.com/api/v2/mcp" } } } -
Start Gemini CLI and run MCP authentication. You need a browser on the same machine; the EQLEM sign-in and consent screen opens there.
-
Gemini CLI registers itself automatically. If the connection fails, tell your EQLEM administrator.
Gemini Enterprise (Admin setup)
Gemini Enterprise does not register clients on its own; an administrator sets it up.
- In EQLEM AI connections (Admin) create an enterprise OAuth client.
- Set the client's redirect URI to:
https://vertexaisearch.cloud.google.com/oauth-redirect - Note the generated
client idandclient secret. - In the Gemini Enterprise admin console add a Custom MCP Server data store. Enter the MCP URL, the
client idandclient secret, and EQLEM's authorization and token URLs (see the provider setup link in AI connections for the URLs). - Users see the EQLEM sign-in and consent screen on first use.
Microsoft Copilot Studio
- In Copilot Studio add an MCP tool to your agent and enter the MCP URL (only Streamable HTTP is supported).
- For authentication try Dynamic discovery first. If it connects, approve on the EQLEM sign-in and consent screen.
- If not, choose Manual:
- An Admin creates an enterprise OAuth client in EQLEM.
- The Admin adds the exact callback URL shown by Copilot Studio (shaped like
https://global.consent.azure-apim.net/redirect/..., ending with the connector name) to that client in EQLEM. - Enter the
client idandclient secretin Copilot Studio.
VS Code / GitHub Copilot
-
Add the HTTP server to
mcp.json(.vscode/mcp.jsonin a workspace, or at user level):{ "servers": { "eqlem": { "type": "http", "url": "https://api.yourcompany.com/api/v2/mcp" } } } -
Start the server; VS Code asks you to authenticate and the EQLEM sign-in and consent screen opens in the browser.
-
In Copilot chat (agent mode) select the EQLEM tools.
Cursor
-
Add the server to Cursor's
mcp.json:{ "mcpServers": { "eqlem": { "url": "https://api.yourcompany.com/api/v2/mcp" } } } -
Enable the server in Cursor; the EQLEM sign-in and consent screen opens.
-
Cursor registers itself automatically. If the connection fails, tell your EQLEM administrator.
Security reminder
- The agent works with only your permissions and the permission groups you approved. Deletion and prospect cancellation happen only in EQLEM.
- Actions with outside effect need your approval, and CRM compliance rules apply to every send.
- Do not share an enterprise client's
client secret. An Admin renews it in AI connections. - To remove an agent connection, revoke it in AI connections.
FAQ
Where do I get the MCP URL? From AI connections in EQLEM.
I cannot connect. What should I do? Check the URL and the browser sign-in and consent step first. If it still fails, tell your EQLEM administrator. For Gemini Enterprise and Copilot Studio (Manual) the administrator creates an enterprise client.
The labels in my provider's interface look different. Providers may rename menus; the steps above describe the general flow.
Next step
Explore the CRM module or start with Try Free.