Close automation

From benjaminasterA/antigravity-awesome-skills · View interactive version

Close automation is an AI agent skill from the GitHub repository benjaminasterA/antigravity-awesome-skills. 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.

How to use this skill

Skill file

Close CRM Automation via Rube MCP

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

Prerequisites

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:

Pitfalls:

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:

Pitfalls:

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:

Pitfalls:

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:

Pitfalls:

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:

Pitfalls:

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:

Pitfalls:

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:

Rate Limits:

Custom Fields:

Data Integrity:

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Create lead | CLOSE_CREATE_LEAD | name, contacts, custom |

| Log call | CLOSE_CREATE_CALL | lead_id, direction, status, duration |

| Send SMS | CLOSE_CREATE_SMS | lead_id, text, direction |

| Create task | CLOSE_CREATE_TASK | lead_id, text, date, assigned_to |

| Get note | CLOSE_GET_NOTE | note_id |

| Delete call | CLOSE_DELETE_CALL | call_id |

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.