> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/crm-sales/lead-master.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# LeadMaster

LeadMaster is a lead management CRM. Manage leads, contacts, opportunities, cases, quotes, products and callbacks.

![LeadMaster logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-a71cce8e089ac0b055ed33aa43f03a8e2917baa9%2Flead-master.png?alt=media)

|                    |                                                                              |
| ------------------ | ---------------------------------------------------------------------------- |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md)       |
| **Website**        | [leadmaster.com](https://leadmaster.com)                                     |
| **Authentication** | Username, password and company ID                                            |
| **Slug**           | `leadMaster`                                                                 |
| **On fastn.ai**    | [Embed LeadMaster in your product](https://fastn.ai/integrations/leadmaster) |

## Setup

Your customers enter their username, password and company id for LeadMaster when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect LeadMaster from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **LeadMaster**.
2. Select **Connect** on the LeadMaster card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use LeadMaster's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Partner</td><td><code>addPartner</code></td><td>Create a partner record. List Partners and List Partner Reps were already covered, so partners were read-only. LeadMaster publishes no request schema for this endpoint, so the body field names are taken from the List Partners response shape.</td></tr><tr><td>Attach Custom Form Record</td><td><code>attachCustomFormRecord</code></td><td>Attach a new custom-form record instance to a lead. Update Custom Form Record was already shipped but can only write answers into an instance that already exists; without this action a repeatable form could never gain a new instance from the API. FormID and RECDNO are query params because LeadMaster reads them off the query string on POST.</td></tr><tr><td>Attach File Link</td><td><code>attachFileLink</code></td><td>Attach a file to a LeadMaster record by URL. This is the supported upload path through Fastn: LeadMaster's multipart endpoint (PostAttachFileAsync) cannot be driven by the Fastn executor, which always sends a JSON content type. Note the query parameter is accesstoken, with no underscore.</td></tr><tr><td>Create Callback Event</td><td><code>addCallback</code></td><td>Create a callback event - LeadMaster's activity/calendar record (a scheduled call, meeting or task) against a lead record and contact. Returns a bare string result.</td></tr><tr><td>Create Case</td><td><code>addCase</code></td><td>Open a support case against a LeadMaster lead record. RECDNO is the parent lead, ContactID the person raising it. IsOpen 1 leaves the case open.</td></tr><tr><td>Create Contact</td><td><code>addContact</code></td><td>Create a contact on a LeadMaster lead record. RecordID is the parent lead (RECDNO). Note LeadMaster expects a JSON array at the root here even for a single contact - this action wraps your fields for you and returns the new contactNOField.</td></tr><tr><td>Create Lead</td><td><code>addLead</code></td><td>Create a lead record in LeadMaster. Company is the account name on the record; the person fields create the primary contact alongside it. Optional fields are dropped from the request when left empty. Returns the new RecordID in Result.</td></tr><tr><td>Create Opportunity</td><td><code>addOpportunity</code></td><td>Create an opportunity against a LeadMaster lead record. rECDNOField is the parent lead RecordID. Add line items separately with Create Product / the opportunity product endpoints.</td></tr><tr><td>Create Product</td><td><code>addProduct</code></td><td>Add a product to the LeadMaster catalog so it can be used as an opportunity line item. Carries the access token in the JSON body rather than the query string.</td></tr><tr><td>Create Quote</td><td><code>addQuote</code></td><td>Create a quote on a LeadMaster lead record. RECDNO is the parent lead; refOppID links the quote to an opportunity.</td></tr></tbody></table>

<details>

<summary>View 75 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Create Webhook Subscription</td><td><code>addWebhookSubscription</code></td><td>Register a webhook URL against a LeadMaster entity event and return the new SubscriptionID. The event catalogue is account, contact, opportunity, case and quote, each created and updated. LeadMaster does not publish the literal SubscriptionEvent strings - confirm the accepted format with List Webhook Subscriptions before relying on this. Note the query parameter is accesstoken, with no underscore.</td></tr><tr><td>Delete Case</td><td><code>deleteCase</code></td><td>Delete a LeadMaster support case by CaseID. POST, not DELETE.</td></tr><tr><td>Delete Contact</td><td><code>deleteContact</code></td><td>Delete a LeadMaster contact by ContactID. POST, not DELETE.</td></tr><tr><td>Delete Lead</td><td><code>deleteLead</code></td><td>Delete a LeadMaster lead record by RecordID. Note this is a POST, not a DELETE. Requires the connected user to hold the DeleteLead privilege.</td></tr><tr><td>Delete Opportunity</td><td><code>deleteOpportunity</code></td><td>Delete a LeadMaster opportunity by OppID. POST, not DELETE.</td></tr><tr><td>Delete Quote</td><td><code>deleteQuote</code></td><td>Delete a LeadMaster quote by QuoteID. POST, not DELETE.</td></tr><tr><td>Get Access Token</td><td><code>getAccessToken</code></td><td>Mint a LeadMaster access token from a username, password and company id. Run this first: the returned token is what you paste into the connection's Access Token field, and it is sent as the access_token query parameter on every other action. The response body is a bare JSON string - the token on success, or the literal "Invalid Credentials" with HTTP 401 on failure.</td></tr><tr><td>Get Case</td><td><code>getCase</code></td><td>Fetch one LeadMaster support case by CaseID. Result is an array holding the single case.</td></tr><tr><td>Get Company Info</td><td><code>getCompanyInfo</code></td><td>Return the LeadMaster company (tenant) profile and feature flags for the connected token - company id, database id, company name, branding, and which modules such as opportunity tracking are enabled.</td></tr><tr><td>Get Contact</td><td><code>getContact</code></td><td>Fetch one LeadMaster contact by ContactID. Result is an array holding the single contact.</td></tr><tr><td>Get Contact By ID (LMWebAPI)</td><td><code>getContactByIdWeb</code></td><td>Read a contact through the legacy LMWebAPI controller. Returns the LMWebAPI field shape, which matches Add Contact and Update Contact; the already-shipped Get Contact uses the Automation controller and a different field shape.</td></tr><tr><td>Get Contact Email History</td><td><code>getContactEmailHistory</code></td><td>Return the emails logged against one LeadMaster contact - sender, recipients, subject, body and sent state. Pass EmailID 0 to get the whole history for the contact.</td></tr><tr><td>Get Contact Note</td><td><code>getContactNote</code></td><td>Return the free-text note stored against one LeadMaster contact. The response is a bare JSON string.</td></tr><tr><td>Get Custom Field Options</td><td><code>getCustomFieldOptions</code></td><td>List the allowed picklist responses for one LeadMaster custom field. Depends on List Custom Fields for the questionID.</td></tr><tr><td>Get Custom Form</td><td><code>getCustomForm</code></td><td>Return the field definitions of one LeadMaster custom form - every question with its type, ordering, validation and mapping. Depends on List Custom Forms for the FormID.</td></tr><tr><td>Get Custom Form Record</td><td><code>getCustomFormRecord</code></td><td>Return the stored answers of one custom form instance on one LeadMaster record, as question id and value pairs. Use List Custom Form Records first to find the ChildRecordID.</td></tr><tr><td>Get Email Template</td><td><code>getEmailTemplate</code></td><td>Read one email template by TemplateID, including its subject, format and message body. List Email Templates was already shipped; this fetches a single template without pulling the whole set.</td></tr><tr><td>Get Lead</td><td><code>getLead</code></td><td>Fetch one LeadMaster lead record by its RecordID. Returns the record inside the Automation envelope; Result is an array with a single element. Answers HTTP 200 even on auth failure - check IsSuccess.</td></tr><tr><td>Get Lead By RECDNO</td><td><code>getLeadByRecdno</code></td><td>Read a lead through the legacy LMWebAPI controller, keyed on RECDNO. Returns the LMWebAPI field shape rather than the Automation shape returned by Get Lead, which is what the other LMWebAPI actions (custom forms, sales rep comments, attached files) key on.</td></tr><tr><td>Get Lead Nurturing Tracks</td><td><code>getLeadNurturingTracks</code></td><td>List the lead-nurturing tracks one LeadMaster contact is enrolled in, with status and start date. Use this to tell whether a contact is already in a drip sequence before enrolling them again.</td></tr><tr><td>Get Login Info</td><td><code>getLoginInfo</code></td><td>Return the logon id, full name and edit permissions of the user the connected access token belongs to. Cheapest read on the connector - use it to verify a connection.</td></tr><tr><td>Get Logon Name</td><td><code>getLogonName</code></td><td>Return the logon name of the user the API credential belongs to. A zero-input read, useful as the connection verification call.</td></tr><tr><td>Get Opportunity</td><td><code>getOpportunity</code></td><td>Fetch one LeadMaster opportunity by OppID. Result is an array holding the single opportunity. Use Get Opportunity Products for its line items.</td></tr><tr><td>Get Opportunity Products</td><td><code>getOpportunityProducts</code></td><td>List the product line items attached to one LeadMaster opportunity, with unit price, quantity and line total.</td></tr><tr><td>Get Quick Action</td><td><code>getQuickAction</code></td><td>Return logged activity statistics (LeadMaster quick actions) for a single lead record.</td></tr><tr><td>Get Quote</td><td><code>getQuote</code></td><td>Fetch one LeadMaster quote by QuoteID. Result is an array holding the single quote.</td></tr><tr><td>Get Reference Table</td><td><code>getReferenceTable</code></td><td>Read any LeadMaster reference (lookup) table by name and return its id/value pairs. This is the generic way to resolve picklist values such as lead status, sales stage or industry code before writing them onto a record.</td></tr><tr><td>Get Sales Rep Comment</td><td><code>getSalesRepComment</code></td><td>Read the sales rep comment recorded on a lead. Complements Get Contact Note, which is the contact-level equivalent.</td></tr><tr><td>Get User Info</td><td><code>getUserInfo</code></td><td>Return the full profile and permission flags of the LeadMaster user behind the connected token - name, user type, company id, admin and edit privileges, last access.</td></tr><tr><td>List Account Managers</td><td><code>listAccountManagers</code></td><td>List the LeadMaster account managers (sales reps) available to the connected user. The idField is the EE_REP value used to assign ownership on leads, contacts and opportunities.</td></tr><tr><td>List Attached Files</td><td><code>listAttachedFiles</code></td><td>List the files attached to one LeadMaster record. Note LeadMaster's own multipart upload endpoint is not usable through Fastn - use Attach File Link to attach a file by URL instead.</td></tr><tr><td>List Available Products</td><td><code>listAvailableProducts</code></td><td>Search the LeadMaster product catalog that opportunity line items are drawn from. AvailProductID is what you attach to an opportunity. Pass FieldName/FieldValue to filter, e.g. FieldName=ProductName.</td></tr><tr><td>List Campaigns</td><td><code>listCampaigns</code></td><td>List LeadMaster campaigns as id and name only. mkt_Program_IDField is the Mkt_Program_ID value you set on a lead or contact - use this to populate a campaign picker.</td></tr><tr><td>List Cases</td><td><code>listCases</code></td><td>List LeadMaster support cases with page-number pagination. RECDNO is the parent lead record, ContactID the contact the case was raised for. Answers HTTP 200 on auth failure; check IsSuccess.</td></tr><tr><td>List Contacts</td><td><code>listContacts</code></td><td>List LeadMaster contacts with page-number pagination. Contacts hang off a lead record - RECDNO on each contact is the parent lead's RecordID. Answers HTTP 200 on auth failure; check IsSuccess.</td></tr><tr><td>List Custom Fields</td><td><code>listCustomFields</code></td><td>List every custom field defined in the LeadMaster account, with its question id, form id, type, validation, required flag and mapping. questionIDField is the key you pass to Update Custom Field and Get Custom Field Options.</td></tr><tr><td>List Custom Form Records For Lead</td><td><code>listCustomFormRecordsForLead</code></td><td>List the custom-form records attached to one lead. This is the discovery step before Get Custom Form Record, which needs a FormID and ChildRecordID that this action supplies.</td></tr><tr><td>List Custom Forms</td><td><code>listCustomForms</code></td><td>List the custom forms defined in the LeadMaster account. formIDField feeds Get Custom Form, Get Custom Form Record and Attach Custom Form To Record.</td></tr><tr><td>List Custom Labels</td><td><code>listCustomLabels</code></td><td>List how the LeadMaster account has relabelled its standard fields. Each row maps an internal FieldName to the LabelAlias the customer sees - essential for rendering a field mapping UI, because LeadMaster ships generic column names like User_Field_7 that each account renames.</td></tr><tr><td>List Databases</td><td><code>listDatabases</code></td><td>List the LeadMaster databases the connected user can reach. A database id is the parent of workgroups; pass one to List Workgroups.</td></tr><tr><td>List Email Templates</td><td><code>listEmailTemplates</code></td><td>List the email templates defined in the LeadMaster account, with subject and body. templateIDField feeds Get Email Template.</td></tr><tr><td>List Function Codes</td><td><code>listFunctionCodes</code></td><td>List the LeadMaster function codes used to classify a contact's job function. functionCodeField is the FunctionCode value on a contact.</td></tr><tr><td>List Groups</td><td><code>listGroups</code></td><td>List the LeadMaster groups that contacts can be assigned to.</td></tr><tr><td>List Leads</td><td><code>listLeads</code></td><td>List LeadMaster lead records (the master record, keyed by RecordID / RECDNO) with page-number pagination. Optionally project only the columns you need with fieldsList. Note: this endpoint answers HTTP 200 even when the token is rejected - check IsSuccess in the body, not the status code.</td></tr><tr><td>List Marketing Campaigns</td><td><code>listMarketingCampaigns</code></td><td>List full LeadMaster marketing campaign records - sponsor, launch and end dates, budget, projected leads and revenue, audience and list source. Use List Campaigns instead if you only need id and name.</td></tr><tr><td>List Opportunities</td><td><code>listOpportunities</code></td><td>List LeadMaster opportunities with page-number pagination. RECDNO on each opportunity is the parent lead record. Answers HTTP 200 on auth failure; check IsSuccess.</td></tr><tr><td>List Partner Reps</td><td><code>listPartnerReps</code></td><td>List the partner representatives available in the LeadMaster account. idField is the PartnerRepID value you set on a lead.</td></tr><tr><td>List Partners</td><td><code>listPartners</code></td><td>List the partner (channel/reseller) organisations in the LeadMaster account, with their primary and secondary contacts and address. PartnerID links a lead to its partner via MFGPARTNR.</td></tr><tr><td>List Quick Actions</td><td><code>listQuickActions</code></td><td>Return logged activity statistics (LeadMaster quick actions) across the account. Use Get Quick Action for a single lead's activity counts.</td></tr><tr><td>List Quotes</td><td><code>listQuotes</code></td><td>List LeadMaster quotes with page-number pagination. RECDNO is the parent lead record. Answers HTTP 200 on auth failure; check IsSuccess.</td></tr><tr><td>List Recently Created Leads</td><td><code>listRecentlyCreatedLeads</code></td><td>Return leads created within the last N minutes. The companion to List Recently Updated Leads for new-record polling. Note this endpoint carries the access token in the JSON body rather than the query string.</td></tr><tr><td>List Recently Updated Callback Events</td><td><code>listRecentlyUpdatedCallbacks</code></td><td>Return callback events (activities, meetings, tasks) updated within the last N minutes, with limit/offset paging. The delta-sync surface for activities.</td></tr><tr><td>List Recently Updated Contacts</td><td><code>listRecentlyUpdatedContacts</code></td><td>Return contacts updated within the last N minutes, with limit/offset paging. The delta-sync surface for contacts.</td></tr><tr><td>List Recently Updated Leads</td><td><code>listRecentlyUpdatedLeads</code></td><td>Return leads updated within the last N minutes, with limit/offset paging. This is the delta-sync surface for leads - poll it on a schedule to pick up changes. Returns a bare array, surfaced under items.</td></tr><tr><td>List Recently Updated Opportunities</td><td><code>listRecentlyUpdatedOpportunities</code></td><td>Return opportunities updated within the last N minutes, with limit/offset paging. Each row embeds its product line items under ListOpportunitiesProducts. The delta-sync surface for opportunities.</td></tr><tr><td>List Title Codes</td><td><code>listTitleCodes</code></td><td>List the LeadMaster title codes used to classify a contact's seniority. titleCodeField is the TitleCode value on a contact.</td></tr><tr><td>List Webhook Subscriptions</td><td><code>listWebhookSubscriptions</code></td><td>List the webhook subscriptions registered on the connected LeadMaster account. Run this first on a new account: an existing row's SubscriptionEvent value is the authoritative example of the event-string format, which LeadMaster does not document. Note the query parameter is accesstoken, with no underscore.</td></tr><tr><td>List Workgroups</td><td><code>listWorkgroups</code></td><td>List the workgroups inside one LeadMaster database. Depends on List Databases for the databaseid.</td></tr><tr><td>Log Contact Email</td><td><code>logContactEmail</code></td><td>Record an email against a LeadMaster contact's history. Use this to push activity from an external mailbox into the CRM timeline. externalEmailIdField lets you store the sending system's own message id for idempotency.</td></tr><tr><td>Remove Webhook Subscription</td><td><code>removeWebhookSubscription</code></td><td>Unregister a LeadMaster webhook subscription by SubscriptionID. Both parameters travel in the query string even though this is a POST, and the token parameter is accesstoken with no underscore. Returns a bare string.</td></tr><tr><td>Search Account</td><td><code>searchAccount</code></td><td>Look up the account (company) record behind a lead by an exact field match - field is the LeadMaster column, fldVal the value. In LeadMaster the account and the lead record are the same row, keyed by recordIDField; use this when you are resolving a company rather than a person.</td></tr><tr><td>Search Callback Events</td><td><code>searchCallbacks</code></td><td>Return the callback events (activities) booked for one contact between two dates. All four parameters travel in the query string even though this is a POST.</td></tr><tr><td>Search Opportunities</td><td><code>searchOpportunities</code></td><td>Find an opportunity by an exact match on one field - FieldName is the LeadMaster column, FieldValue the value. Returns the opportunity joined with its parent account and contact details.</td></tr><tr><td>Search Record By Email</td><td><code>searchRecordByEmail</code></td><td>Find lead records by email address. This is the dedupe lookup an inbound integration needs before creating a lead; the generic Search Record action requires naming a field explicitly. Body shape mirrors Search Record, which LeadMaster documents as {access_token, Field, FieldVal}, with the field fixed to email.</td></tr><tr><td>Search Records</td><td><code>searchRecords</code></td><td>Find lead records by an exact match on any single field - pass the LeadMaster column name in Field and the value in FieldVal, e.g. Field=Email, FieldVal=jane@acme.com. This is the general-purpose lookup for dedupe before a create. Returns a bare array of full lead records.</td></tr><tr><td>Update Case</td><td><code>updateCase</code></td><td>Update a LeadMaster support case by CaseID - change status, priority, assignee, or close it by setting IsOpen 0 with a CloseReason and DateClosed.</td></tr><tr><td>Update Contact</td><td><code>updateContact</code></td><td>Update a LeadMaster contact by ContactID. Unlike Create Contact this takes a single object, not an array. Empty optional fields are dropped rather than sent blank.</td></tr><tr><td>Update Custom Field Value</td><td><code>updateCustomField</code></td><td>Set one custom field value on one LeadMaster record. All four parameters travel in the query string even though this is a POST - there is no request body.</td></tr><tr><td>Update Custom Form Record</td><td><code>updateCustomFormRecord</code></td><td>Write answers back to a custom form instance on a LeadMaster record. The body is an array of question id and value pairs; RECDNO, FormID and ChildRecordID travel in the query string.</td></tr><tr><td>Update Lead</td><td><code>updateLead</code></td><td>Update an existing LeadMaster lead record by RecordID. Only the fields you supply are sent - empty optional fields are dropped from the request rather than blanking the column.</td></tr><tr><td>Update Opportunity</td><td><code>updateOpportunity</code></td><td>Update an existing opportunity. This was the only write missing from the opportunity object - Add Opportunity, Delete Opportunity and the product line actions were already covered, leaving opportunities effectively create-only. LeadMaster publishes no request schema for this endpoint, so the body field names are taken from the Get Opportunity response shape. Line-item edits go through Add Opportunity Product and Update Opportunity Product.</td></tr><tr><td>Update Partner</td><td><code>updatePartner</code></td><td>Update a partner record by PartnerID. LeadMaster publishes no request schema for this endpoint, so the body field names are taken from the List Partners response shape.</td></tr><tr><td>Update Product</td><td><code>updateProduct</code></td><td>Update a product in the LeadMaster catalog by ProductId. Carries the access token in the JSON body.</td></tr><tr><td>Update Quote</td><td><code>updateQuote</code></td><td>Update a LeadMaster quote by QuoteID. Only the fields you supply are sent.</td></tr><tr><td>Validate Logon</td><td><code>validateLogon</code></td><td>Validate a LeadMaster username, password and legacy API key pair without minting a token. Useful to confirm API access has been enabled on the account before troubleshooting anything else.</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Account created</td><td><code>account.created</code></td><td>A LeadMaster account (lead master record) was created. UNVERIFIED EVENT ID: LeadMaster documents this catalogue in the LMEntityUpsert endpoint description but publishes no literal SubscriptionEvent strings. Confirm against an existing row from List Webhook Subscriptions before relying on it; the subscription code passes this id straight through, so only this id needs correcting.</td></tr><tr><td>Account updated</td><td><code>account.updated</code></td><td>A LeadMaster account (lead master record) was updated. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Case created</td><td><code>case.created</code></td><td>A support case was opened. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Case updated</td><td><code>case.updated</code></td><td>A support case was updated. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Contact created</td><td><code>contact.created</code></td><td>A contact was created on a LeadMaster record. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Contact updated</td><td><code>contact.updated</code></td><td>A contact was updated. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Opportunity created</td><td><code>opportunity.created</code></td><td>An opportunity was created. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Opportunity updated</td><td><code>opportunity.updated</code></td><td>An opportunity was updated. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Quote created</td><td><code>quote.created</code></td><td>A quote was created. UNVERIFIED EVENT ID - see Account created.</td></tr><tr><td>Quote updated</td><td><code>quote.updated</code></td><td>A quote was updated. UNVERIFIED EVENT ID - see Account created.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/crm-sales/lead-master.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
