Pylon
Apps & AutomationpylonPylon is an Agent Skill for apps & automation published in the BuilderIO/agent-native repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Look up customer support tickets and account history via Pylon. Use this skill when the user asks about support tickets, customer issues, or support history.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/BuilderIO/agent-native/blob/HEAD/templates/analytics/.builder/skills/pylon/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pylon, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Pylon Integration (Support)
Connection
- Base URL:
https://api.usepylon.com - Auth:
Authorization: Bearer $PYLON_API_KEY - Env vars:
PYLON_API_KEY - Caching: 10-minute in-memory cache, max 120 entries
Server Lib & API Routes
- File:
server/lib/pylon.ts
Exported Functions
| Function | Description |
|---|---|
getAccounts(query?) | List/search accounts |
getAccount(id) | Get single account |
getIssues(params?) | List issues (30-day window enforced) |
getContacts(query?) | Search contacts |
API Routes
| Route | Description |
|---|---|
GET /api/pylon/issues | List support tickets |
GET /api/pylon/accounts | List accounts |
Script Usage
# Open support tickets for a customer
pnpm action pylon-issues --account="Example Corp" --state=open
# All issues
pnpm action pylon-issues --query=search_term
# List accounts
pnpm action pylon-issues --accounts
Key Patterns & Gotchas
getIssuesenforces a max 30-day window viastart_timeandend_timequery params (API requirement)- API returns
{ data: ... }wrappers or raw arrays — code handles both defensively - Pylon API exists in this analytics app (
code/) but the secretspylon.api_keyandpylon.api_secretreferenced elsewhere are in secrets manager, not env vars - No Pylon data in BigQuery — must query the API directly