Close Automation logo

Close Automation

CommunityPopular
davepoon
close-automation

Automate Close CRM tasks via Rube MCP (Composio): create leads, manage calls/SMS, handle tasks, and track notes. Always search tools first for current schemas.

Overview

Publisherdavepoon
Repositorybuildwithclaude
Skill nameclose-automation
Stars
3.5K
Forks
509
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by davepoon on GitHub. Read the source before you install it.

Installation

Install the Close Automation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/davepoon/buildwithclaude.git /tmp/buildwithclaude
mkdir -p .claude/skills
cp -r /tmp/buildwithclaude/plugins/all-skills/skills/close-automation .claude/skills/close-automation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Close Automation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Close Automation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Close Automation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Close CRM Automation via Rube MCP

Automate Close CRM operations through Composio's Close toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/close

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Close connection via RUBE_MANAGE_CONNECTIONS with toolkit close
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit close
  3. If connection is not ACTIVE, follow the returned auth link to complete Close API authentication
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Create and Manage Leads

When to use: User wants to create new leads or manage existing lead records

Tool sequence:

  1. CLOSE_CREATE_LEAD - Create a new lead in Close [Required]

Key parameters:

  • name: Lead/company name
  • contacts: Array of contact objects associated with the lead
  • custom: Custom field values as key-value pairs
  • status_id: Lead status ID

Pitfalls:

  • Leads in Close represent companies/organizations, not individual people
  • Contacts are nested within leads; create the lead first, then contacts are included
  • Custom field keys use the custom field ID (e.g., 'custom.cf_XXX'), not display names
  • Duplicate lead detection is not automatic; check before creating

2. Log Calls

When to use: User wants to log a phone call activity against a lead

Tool sequence:

  1. CLOSE_CREATE_CALL - Log a call activity [Required]

Key parameters:

  • lead_id: ID of the associated lead
  • contact_id: ID of the contact called
  • direction: 'outbound' or 'inbound'
  • status: Call status ('completed', 'no-answer', 'busy', etc.)
  • duration: Call duration in seconds
  • note: Call notes

Pitfalls:

  • lead_id is required; calls must be associated with a lead
  • Duration is in seconds, not minutes
  • Call direction affects reporting and analytics
  • contact_id is optional but recommended for tracking

3. Send SMS Messages

When to use: User wants to send or log SMS messages through Close

Tool sequence:

  1. CLOSE_CREATE_SMS - Send or log an SMS message [Required]

Key parameters:

  • lead_id: ID of the associated lead
  • contact_id: ID of the contact
  • direction: 'outbound' or 'inbound'
  • text: SMS message content
  • status: Message status

Pitfalls:

  • SMS functionality requires Close phone/SMS integration to be configured
  • lead_id is required for all SMS activities
  • Outbound SMS may require a verified sending number
  • Message length limits may apply depending on carrier

4. Manage Tasks

When to use: User wants to create or manage follow-up tasks

Tool sequence:

  1. CLOSE_CREATE_TASK - Create a new task [Required]

Key parameters:

  • lead_id: Associated lead ID
  • text: Task description
  • date: Due date for the task
  • assigned_to: User ID of the assignee
  • is_complete: Whether the task is completed

Pitfalls:

  • Tasks are associated with leads, not contacts
  • Date format should follow ISO 8601
  • assigned_to requires the Close user ID, not email or name
  • Tasks without a date appear in the 'no due date' section

5. Manage Notes

When to use: User wants to add or retrieve notes on leads

Tool sequence:

  1. CLOSE_GET_NOTE - Retrieve a specific note [Required]

Key parameters:

  • note_id: ID of the note to retrieve

Pitfalls:

  • Notes are associated with leads
  • Note IDs are required for retrieval; search leads first to find note references
  • Notes support plain text and basic formatting

6. Delete Activities

When to use: User wants to remove call records or other activities

Tool sequence:

  1. CLOSE_DELETE_CALL - Delete a call activity [Required]

Key parameters:

  • call_id: ID of the call to delete

Pitfalls:

  • Deletion is permanent and cannot be undone
  • Only the call creator or admin can delete calls
  • Deleting a call removes it from all reports and timelines

Common Patterns

Lead and Contact Relationship

Close data model:
- Lead = Company/Organization
  - Contact = Person (nested within Lead)
  - Activity = Call, SMS, Email, Note (linked to Lead)
  - Task = Follow-up item (linked to Lead)
  - Opportunity = Deal (linked to Lead)

ID Resolution

Lead ID:

1. Search for leads using the Close search API
2. Extract lead_id from results (format: 'lead_XXXXXXXXXXXXX')
3. Use lead_id in all activity creation calls

Contact ID:

1. Retrieve lead details to get nested contacts
2. Extract contact_id (format: 'cont_XXXXXXXXXXXXX')
3. Use in call/SMS activities for accurate tracking

Activity Logging Pattern

1. Identify the lead_id and optionally contact_id
2. Create the activity (call, SMS, note) with lead_id
3. Include relevant metadata (duration, direction, status)
4. Create follow-up tasks if needed

Known Pitfalls

ID Formats:

  • Lead IDs: 'lead_XXXXXXXXXXXXX'
  • Contact IDs: 'cont_XXXXXXXXXXXXX'
  • Activity IDs vary by type: 'acti_XXXXXXXXXXXXX', 'call_XXXXXXXXXXXXX'
  • Custom field IDs: 'custom.cf_XXXXXXXXXXXXX'
  • Always use the full ID string

Rate Limits:

  • Close API has rate limits based on your plan
  • Implement delays between bulk operations
  • Monitor response headers for rate limit status
  • 429 responses require backoff

Custom Fields:

  • Custom fields are referenced by their API ID, not display name
  • Different lead statuses may have different required custom fields
  • Custom field types (text, number, date, dropdown) enforce value formats

Data Integrity:

  • Leads are the primary entity; contacts and activities are linked to leads
  • Deleting a lead may cascade to its contacts and activities
  • Bulk operations should validate IDs before executing

Quick Reference

TaskTool SlugKey Params
Create leadCLOSE_CREATE_LEADname, contacts, custom
Log callCLOSE_CREATE_CALLlead_id, direction, status, duration
Send SMSCLOSE_CREATE_SMSlead_id, text, direction
Create taskCLOSE_CREATE_TASKlead_id, text, date, assigned_to
Get noteCLOSE_GET_NOTEnote_id
Delete callCLOSE_DELETE_CALLcall_id

Powered by Composio

Frequently asked questions

What does the Close Automation AI skill do?

Automate Close CRM tasks via Rube MCP (Composio): create leads, manage calls/SMS, handle tasks, and track notes. Always search tools first for current schemas.

Why use Close Automation on TypingMind?

Because you install it once and use it with any model. Close Automation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Close Automation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/davepoon/buildwithclaude/tree/main/plugins/all-skills/skills/close-automation. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Close Automation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Close Automation?

As many as you like. As long as a model supports skills, you can use Close Automation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Close Automation AI skill free?

Yes. It is published on GitHub by davepoon under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇