Enerflo MCP by usefulapi

v1.9.1
io.usefulapi/enerflo Checked 2 days ago Published 1 day ago

Read customers, installs, tasks and notes; add leads and notes in Enerflo.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

enerflo_get_company Get my company

Return the company that owns the API key (id, name, contact, address, slug). Good first call. Enerflo API: GET /v3/authcheck.

enerflo_list_offices List offices

List the offices of the company. Enerflo API: GET /v3/offices.

enerflo_list_loan_products List loan products

List the finance options (lenders and loan products) of the company. Enerflo API: GET /v3/loan-products.

enerflo_list_products List products

List products (equipment and adders) of the company or of authorized companies. Enerflo API: GET /v3/company/products.

ParameterTypeDescription
activebooleantrue = only active products, false = only inactive.
company_idintegerOnly products of this Enerflo company id.
is_batterybooleantrue = only battery products, false = no batteries.

enerflo_list_install_statuses List install statuses

List all possible install project statuses. Enerflo API: GET /v3/install-statuses.

ParameterTypeDescription
company_idintegerOptional Enerflo company id.

enerflo_list_users List users

List users of the company (and of authorized companies when company_id is not set). Enerflo API: GET /v3/users.

ParameterTypeDescription
company_idintegerOnly users of this Enerflo company id.
pageintegerPage number (default 1).
pageSizeintegerRecords per page.
user_rolestringOnly users with this role.

enerflo_get_user Get a user

Get one user by Enerflo user id. Enerflo API: GET /v3/users/{id}.

ParameterTypeDescription
user_id *integerEnerflo user id (from enerflo_list_users).

enerflo_list_customers List customers

List customers and leads. The search term matches name, email or phone. Use pageSize and page for large lists. Enerflo API: GET /v1/customers.

ParameterTypeDescription
pageintegerPage number (default 1).
pageSizeintegerRecords per page (1-100). Always set it: without it the API tries to return everything.
searchstringSearch text for name, email or phone.

enerflo_get_customer Get a customer

Get one customer by Enerflo customer id. Enerflo API: GET /v3/customers/{id}.

ParameterTypeDescription
customer_id *integerEnerflo customer id (from enerflo_list_customers).

enerflo_list_customer_notes List customer notes

List all notes of a customer. Enerflo API: GET /v3/customers/{id}/notes.

ParameterTypeDescription
customer_id *integerEnerflo customer id.

enerflo_list_customer_appointments List customer appointments

List all appointments of a customer. Enerflo API: GET /v3/customers/{id}/appointments.

ParameterTypeDescription
customer_id *integerEnerflo customer id.

enerflo_list_customer_tasks List customer tasks

List the tasks of one customer. Enerflo API: GET /v1/tasks/{customerId}.

ParameterTypeDescription
customer_id *integerEnerflo customer id.
pageintegerPage number (default 1).
pageSizeintegerRecords per page.

enerflo_list_installs List installs

List install projects (default 25 per page, newest first). Optional single filter on one field, for example status_name eq 'Permitting'. Enerflo API: GET /v3/installs.

ParameterTypeDescription
filter_fieldstringField to filter on.
filter_operatorstringFilter operator (default eq).
filter_valuestringFilter value.
pageintegerPage number (default 1).
per_pageintegerRecords per page (default 25).
report_idintegerId of a saved install report to apply.
sort_bystringField to sort by; default order is descending. Prefix with '-' for ascending, for example '-created_at'.

enerflo_get_install Get an install

Get one install project: company, customer, milestones and uploaded files. Enerflo API: GET /v3/installs/{id}.

ParameterTypeDescription
install_id *stringInstall id (from enerflo_list_installs).

enerflo_find_install Find an install for a customer

Find the install record of a customer. Give exactly one of customer_id or survey_id. Enerflo API: GET /v1/search/find_install.

ParameterTypeDescription
customer_idintegerEnerflo customer id.
survey_idintegerEnerflo survey id.

enerflo_list_install_notes List install notes

List install notes of the company, newest first, with optional filters. Enerflo API: GET /v3/installs/notes.

ParameterTypeDescription
author_emailstringOnly notes by this author email.
created_afterstringOnly notes created after this date-time.
created_beforestringOnly notes created before this date-time.
daysintegerOnly notes of the last N days.
epc_install_idintegerOnly notes of this install id.
pageintegerPage number (default 1).
pageSizeintegerRecords per page (default 25).

enerflo_list_tasks List company tasks

List tasks of the whole company. Optional single filter, for example completed eq 0. Enerflo API: GET /v3/tasks/all.

ParameterTypeDescription
filter_fieldstringField to filter on.
filter_operatorstringFilter operator (default eq).
filter_valuestringFilter value.
orderBystringSort field (default created_at).
orderDirstringSort direction (default desc).
pageintegerPage number (default 1).
pageSizeintegerRecords per page (default 25).

enerflo_add_customer_note Add a customer note

WRITE: add a note to a customer record. Each call creates a new note (not idempotent). Enerflo API: POST /v3/customers/{id}/notes.

ParameterTypeDescription
customer_id *integerEnerflo customer id.
note *stringThe note text.

enerflo_add_install_note Add an install note

WRITE: add a note to an install project. Each call creates a new note (not idempotent). Set customer_facing to true only when the customer may read it in the customer portal. Enerflo API: POST /v3/installs/{id}/notes.

ParameterTypeDescription
install_id *integerInstall id (from enerflo_list_installs).
note *stringThe note text.
customer_facingbooleantrue = visible to the customer in the portal (default false).
milestone_idintegerOptional milestone id to link the note to.

enerflo_add_lead Add a lead

WRITE: create a customer/lead in Enerflo. Each call may create a new record (not idempotent): search with enerflo_list_customers first to avoid duplicates. Enerflo API: POST /v1/partner/action/lead/add.

ParameterTypeDescription
first_name *stringFirst name.
last_name *stringLast name.
add_notestringNote to add to the lead.
addressstringStreet address.
assign_to_emailstringEmail of the user to assign the lead to.
citystringCity.
emailstringEmail address.
integration_record_idstringYour own external id for the record.
lead_sourcestringLead source name.
lead_statusstringLead status name.
mobilestringMobile phone number.
office_namestringName of the office that owns the lead.
statestringState code, for example NV.
unitstringUnit or apartment.
zipstringZIP code.