pipefy/ai-toolkit

pipefy-observability

Use this skill when the user wants to check AI agent logs, automation execution logs, org-level usage stats, AI credit consumption, or export automation job history.

소스 보기
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Observability

Read the MCP reference or CLI reference for the surface you are using. Load only the relevant reference.

Monitor AI agent and automation execution, usage stats, credit consumption, and export job history.


Identifiers reference

Full identifier map: observability identifiers.

ConceptWhat tools expectHow to obtain
Pipe for AI agent logsrepo_uuid — the pipe UUIDget_pipe with numeric pipe_id; use pipe.uuid.
Automation for logsautomation_id — numericget_automations pipe_id=...
Org for usage statsorganization_uuid — UUID or numeric org idget_organization returns the uuid; a numeric id also works (resolved server-side). Execution-metrics / export take numeric organization_id.

Tools

OperationRead-onlyPurpose
get_ai_agent_logsYesExecution history for a specific AI agent.
get_ai_agent_log_detailsYesSingle execution detail for an AI agent log entry.
get_automation_logsYesExecution history for an automation (by automation ID).
get_automation_logs_by_repoYesAutomation logs filtered by pipe.
get_agents_usageYesOrg-level AI agent execution count and trends.
get_automations_usageYesOrg-level automation execution stats.
get_automation_execution_metricsYesPer-automation execution metrics over FIFTEEN_MINUTES, SIXTY_MINUTES, TWELVE_HOURS, or TWENTY_FOUR_HOURS; partial success returns partial_errors for denied ids.
get_ai_credit_usageYesAI credit consumption and remaining balance.
export_automation_jobsNoTrigger async export of automation job history.
get_automation_jobs_exportYesPoll export job status (after export_automation_jobs).
get_automation_jobs_export_csvYesDownload finished automation-jobs export as CSV text.

Steps — diagnose a failing AI agent

  1. Get the pipe UUID (not the numeric pipe ID):

Operation: get_pipe pipe_id=67890

Capture pipe.uuid from the response.

  1. Fetch recent agent logs:

Operation: get_ai_agent_logs repo_uuid=<UUID> first=30

  1. Identify the failed execution — look for status: failed entries.
  1. Check credit usage if the agent stopped unexpectedly:

Operation: get_ai_credit_usage organization_uuid=123 period="current_month"

  1. Fix and re-enable — update the agent config (see pipefy-ai-agents) and toggle status:

Operation: toggle_ai_agent_status with the agent UUID and active=true (SDK: agent_uuid; MCP: uuid).


Steps — export automation history as CSV

  1. Trigger the export:

Operation: export_automation_jobs organization_id=123 period="current_month"

  1. Poll for completion:

Operation: get_automation_jobs_export export_id=<EXPORT_ID>

Repeat until status is finished or failed.

A finished export also carries fileUrl, a signed link to the xlsx. It expires 1 hour after the read that returned it, and anyone holding it can download the file until then. When you hand it to the user, say that it expires in 1 hour; for a fresh link, poll again.

  1. Fetch CSV text (when finished):

Operation: get_automation_jobs_export_csv export_id=<EXPORT_ID>


Success criteria

  • Agent logs show execution timestamps and statuses.
  • Credit usage shows remaining balance; no unexpected drops.
  • CSV export downloads successfully and contains expected automation history.

Failure modes

  • `get_ai_agent_logs` returns empty: use the pipe UUID (e.g., abc123-...), not the numeric pipe ID. Get UUID from get_pipe.
  • `get_automation_jobs_export` stays in `processing`: large exports take time. Wait at least 60 seconds between polls. If still processing after several minutes, retry the export trigger.
  • Credit usage shows 0 remaining: alert the user — AI features will stop working until credits are replenished. Escalate to the Pipefy admin.

See also

  • pipefy-ai-agents — create and configure AI agents.
  • pipefy-automations — create and debug automation rules.
같은 저장소의 Skills

더 많은 Skills

모든 Skills
pipefy
커뮤니티

pipefy-ai-agents

Use this skill when the user wants to create, read, update, delete, or troubleshoot AI agents (conversational agents with behaviors). Includes pre-flight validation and pipe-scoped knowledge bases (list, plain text/document/data lookup CRUD, access probe) attached via dataSourceIds. For traditional automations and AI automations, see pipefy-automations.

설치 수
2
GitHub Stars
50
업데이트
10월 16일
pipefy
커뮤니티

pipefy-api-fallback

Use this skill when a toolkit operation fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow the 3-tier resolution strategy before reaching this point.

설치 수
2
GitHub Stars
50
업데이트
10월 16일
pipefy
커뮤니티

pipefy-attachments

Use this skill when the user wants to upload a file to a Pipefy card or table-record attachment field. Covers local and downloaded file sources, plus a presigned-URL handshake for uploading files directly.

설치 수
2
GitHub Stars
50
업데이트
10월 16일
pipefy
커뮤니티

pipefy-automations

Use this skill when the user wants to create, read, update, or delete traditional automations (if/then rules) or AI automations (prompt-driven). For AI agents (conversational), see pipefy-ai-agents.

설치 수
2
GitHub Stars
50
업데이트
10월 16일