@robinpath/intercom
v0.1.1
Published
Intercom module for RobinPath.
Readme
@robinpath/intercom
Intercom module for RobinPath.
Why use this module?
The intercom module lets you:
- listContacts
- getContact
- createContact
- updateContact
- deleteContact
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/intercomQuick Start
1. Set up credentials
intercom.setCredentials "your-credentials"2. listContacts
intercom.listContactsAvailable Functions
| Function | Description |
|----------|-------------|
| intercom.setCredentials | Configure intercom credentials. |
| intercom.listContacts | listContacts |
| intercom.getContact | getContact |
| intercom.createContact | createContact |
| intercom.updateContact | updateContact |
| intercom.deleteContact | deleteContact |
| intercom.searchContacts | searchContacts |
| intercom.listConversations | listConversations |
| intercom.getConversation | getConversation |
| intercom.replyToConversation | replyToConversation |
| intercom.assignConversation | assignConversation |
| intercom.closeConversation | closeConversation |
| intercom.listCompanies | listCompanies |
| intercom.getCompany | getCompany |
| intercom.createCompany | createCompany |
| intercom.listTags | listTags |
| intercom.createTag | createTag |
| intercom.tagContact | tagContact |
| intercom.removeTag | removeTag |
Examples
listContacts
intercom.listContactsgetContact
intercom.getContactcreateContact
intercom.createContactIntegration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/intercom";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
intercom.setCredentials "your-credentials"
intercom.listContacts
`);Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/hubspot— HubSpot module for complementary functionality@robinpath/salesforce— Salesforce module for complementary functionality@robinpath/pipedrive— Pipedrive module for complementary functionality@robinpath/freshdesk— Freshdesk module for complementary functionality@robinpath/zoho— Zoho module for complementary functionality
License
MIT
