Omnium Hub Skill
This skill allows you to interact with the Omnium Hub CRM.
Prerequisites
To use this skill, you need an Omnium Hub API Key.
- - If you do not have an API key, ask the user for it: "Please provide your Omnium Hub API Key to proceed."
- Once provided, use it in the scripts below.
Tools
1. Manage Contacts
Use scripts/omnium_client.py to manage contacts.
Usage:
CODEBLOCK0
Actions:
- -
lookup: Find a contact by email or phone. - INLINECODE2 : Create a new contact.
- INLINECODE3 : Update an existing contact.
Examples:
- * "Find the contact for john@example.com in Omnium Hub."
-> INLINECODE4
- * "Add Jane Doe (jane@test.com) to Omnium Hub."
-> INLINECODE5
2. Manage Opportunities
Use scripts/omnium_client.py with the opportunities command.
Usage:
CODEBLOCK1
Troubleshooting
- - 401 Unauthorized: The API Key is invalid. Ask the user to check their Omnium Hub credentials.
- 404 Not Found: The contact or resource does not exist.
Omnium Hub 技能
此技能允许您与 Omnium Hub CRM 进行交互。
前提条件
要使用此技能,您需要一个 Omnium Hub API 密钥。
- - 如果您没有 API 密钥,请向用户索取:请提供您的 Omnium Hub API 密钥以继续。
- 提供后,请在以下脚本中使用它。
工具
1. 管理联系人
使用 scripts/omnium_client.py 管理联系人。
用法:
bash
python3 scripts/omnium_client.py --api-key 您的密钥 contacts --action [lookup|create|update] --email user@example.com [其他选项]
操作:
- - lookup:通过电子邮件或电话查找联系人。
- create:创建新联系人。
- update:更新现有联系人。
示例:
- * 在 Omnium Hub 中查找 john@example.com 的联系人。
-> python3 scripts/omnium_client.py --api-key ... contacts --action lookup --email john@example.com
- * 将 Jane Doe (jane@test.com) 添加到 Omnium Hub。
-> python3 scripts/omnium_client.py --api-key ... contacts --action create --first-name Jane --last-name Doe --email jane@test.com
2. 管理商机
使用 scripts/omnium_client.py 配合 opportunities 命令。
用法:
bash
python3 scripts/omnium_client.py --api-key 您的密钥 opportunities --action list --pipeline-id ...
故障排除
- - 401 未授权:API 密钥无效。请用户检查其 Omnium Hub 凭据。
- 404 未找到:联系人或资源不存在。