pm-flexmail
Purpose
Reads Flexmail contacts, custom fields, interests, segments, and sources through the Flexmail REST API.
Icon
Capabilities
- check=true catalog=true read=true write=false query=false
- Integration type: api
Authentication
- Use pm credentials add with --from-env or --value-stdin for secret fields.
Configuration
- account_id (required)
- base_url
- mode
- page_size
- personal_access_token (secret) (required)
ETL Streams
- contacts:
- primary key: id
- fields: custom_fields(object), email(string), first_name(string), id(integer), language(string), name(string)
- custom_fields:
- primary key: id
- fields: id(string), name(string), placeholder(string), type(string)
- interests:
- primary key: id
- fields: description(string), id(string), label(string), name(string), visibility(string)
- segments:
- primary key: id
- fields: id(string), name(string), number_of_contacts(integer)
- sources:
- primary key: id
- fields: id(integer), name(string)
Sync Modes
- ETL sync modes: full_refresh_append, full_refresh_overwrite
Security
- read risk: external Flexmail API read of contact and marketing-list data
- approval: none; read-only, no obviously-safe reverse-ETL writes
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.
Command Surface
- Run Flexmail's declared streams and reverse-ETL actions.
- Usage: pm flexmail [flags]
- Read streams
- Other Commands
- contacts list - Run the contacts ETL stream [intent=etl availability=implemented stream=contacts]
- custom fields list - Run the custom fields ETL stream [intent=etl availability=implemented stream=custom_fields]
- interests list - Run the interests ETL stream [intent=etl availability=implemented stream=interests]
- segments list - Run the segments ETL stream [intent=etl availability=implemented stream=segments]
- sources list - Run the sources ETL stream [intent=etl availability=implemented stream=sources]
Commands
Inspect as a manual
pm connectors inspect flexmail
Inspect as structured JSON
pm connectors inspect flexmail --json
Agent Rules
- Run pm connectors inspect flexmail before creating credentials or plans.
- Use --json only when the caller needs structured output; use the manual for human-readable guidance.
- Never ask the user to paste secret values into chat.
1---2name: pm-flexmail3description: Flexmail connector knowledge and safe action guide.4metadata:5 source: https://skillmd.com/skills/polymetrics-ai/pm-flexmail6---78# pm-flexmail910## Purpose1112Reads Flexmail contacts, custom fields, interests, segments, and sources through the Flexmail REST API.1314## Icon1516- id: pm-sample17- asset: icons/pm-sample.svg18- source: polymetrics19- review_status: polymetrics20- review_url: https://github.com/polymetrics-ai/cli2122## Capabilities2324- check=true catalog=true read=true write=false query=false25- Integration type: api2627## Authentication2829- Use pm credentials add with --from-env or --value-stdin for secret fields.3031## Configuration3233- account_id (required)34- base_url35- mode36- page_size37- personal_access_token (secret) (required)3839## ETL Streams4041- contacts:42 - primary key: id43 - fields: custom_fields(object), email(string), first_name(string), id(integer), language(string), name(string)44- custom_fields:45 - primary key: id46 - fields: id(string), name(string), placeholder(string), type(string)47- interests:48 - primary key: id49 - fields: description(string), id(string), label(string), name(string), visibility(string)50- segments:51 - primary key: id52 - fields: id(string), name(string), number_of_contacts(integer)53- sources:54 - primary key: id55 - fields: id(integer), name(string)5657## Sync Modes5859- ETL sync modes: full_refresh_append, full_refresh_overwrite6061## Security6263- read risk: external Flexmail API read of contact and marketing-list data64- approval: none; read-only, no obviously-safe reverse-ETL writes65- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.6667## Command Surface6869- Run Flexmail's declared streams and reverse-ETL actions.70- Usage: pm flexmail <command> [flags]71- Read streams72- Other Commands73 - contacts list - Run the contacts ETL stream [intent=etl availability=implemented stream=contacts]74 - custom fields list - Run the custom fields ETL stream [intent=etl availability=implemented stream=custom_fields]75 - interests list - Run the interests ETL stream [intent=etl availability=implemented stream=interests]76 - segments list - Run the segments ETL stream [intent=etl availability=implemented stream=segments]77 - sources list - Run the sources ETL stream [intent=etl availability=implemented stream=sources]7879## Commands8081### Inspect as a manual8283```bash84pm connectors inspect flexmail85```8687### Inspect as structured JSON8889```bash90pm connectors inspect flexmail --json91```9293## Agent Rules9495- Run pm connectors inspect flexmail before creating credentials or plans.96- Use --json only when the caller needs structured output; use the manual for human-readable guidance.97- Never ask the user to paste secret values into chat.