bel-insert-file-to-crm-and-link-it
Installation
SKILL.md
BEL Insert File to CRM and Link It
Overview
This skill provides a streamlined workflow for inserting files into the CRM database's data_files table. It handles all technical details including file encoding, hash calculation, MIME type detection, and database insertion through a robust Python script.
The skill is designed to avoid polluting the agent's context window by executing file operations through an external script rather than inline code generation.
When to Use This Skill
Use this skill when:
- The user asks to insert/upload/save a file to the CRM database
- The user wants to link a file (image, PDF, Excel, document) to a company, person, event, or opportunity
- The user mentions "save to CRM", "upload to database", "store in CRM"
- The user provides files and asks to associate them with CRM entities
- The user mentions company_site, person, event, or sales_opportunity with file operations