Skip to main content

Zapier Integration

Connect UAPK Gateway to 6,000+ apps through Zapier. Trigger Zaps when actions need approval, evaluate policies before executing automations, and maintain a tamper-evident audit trail — all without writing code.

What You Can Do

ActionDescription
Evaluate ActionCheck an agent's action against your policies (dry run — no execution)
Execute ActionEvaluate and execute the action if the policy allows it
Approve ActionApprove an escalated action that is pending human review
Deny ActionDeny a pending escalated action
Find ApprovalLook up the status of a specific approval request
List Pending ApprovalsGet all approvals waiting for a human decision
List Audit RecordsQuery the audit log with filters

Use Cases

Human-in-the-loop for AI agents When an AI agent tries to execute a high-risk action (wire transfer, contract signing, account deletion), UAPK escalates it. Use Zapier to route that approval request to Slack, email, or a ticketing system — and write the approve/deny decision back to UAPK when a human responds.

Compliance audit exports Trigger a Zap on a schedule to pull audit records from UAPK and push them to your SIEM, data warehouse, or compliance reporting tool (Splunk, Google Sheets, Notion, etc.).

Policy gate before critical automations Before your Zapier automation executes a sensitive step, run an Evaluate Action first. If the policy returns deny, branch the Zap to an alert path instead of proceeding.

Setup

Prerequisites

  • A running UAPK Gateway instance (self-hosted or api.uapk.info)
  • An organization ID and API key from your UAPK dashboard
  • A Zapier account (free tier works for testing)

Authentication

The Zapier integration uses API Key authentication. You will be prompted for:

FieldWhere to find it
Base URLYour gateway URL, e.g. https://api.uapk.info
Organization IDDashboard → Settings → Organization ID
API KeyDashboard → Settings → API Keys → Create Key
Management TokenRequired for approval actions — Dashboard → Settings → Management Tokens

Creating Your First Zap

Example: Slack alert when an agent action is escalated

  1. Trigger: Schedule or Webhook (from your agent notifying Zapier)
  2. Action 1 — UAPK Gateway → List Pending Approvals to fetch open items
  3. Action 2 — Slack → Send Message with the escalation details and approval link
  4. Action 3 — (optional) UAPK Gateway → Approve/Deny Action once the human responds via Slack

Action Reference

Evaluate Action

Checks whether an agent action would be allowed by your current policies. Does not execute the action.

Resource: Gateway
Operation: Evaluate Action
InputRequiredDescription
UAPK IDAgent identifier from the manifest
Agent Instance IDUnique session/instance ID
Action TypeAction category, e.g. send_email, transfer_funds
ToolConnector to use, e.g. email:send
ParametersJSON object of action parameters
CounterpartyRecipient details (ID, type, jurisdiction)
AmountFinancial amount (triggers amount limit checks)

Returns: allow, deny, or escalate with policy evaluation details.

Execute Action

Evaluates the policy and, if allowed, executes the action through the configured connector.

InputRequiredDescription
Same as Evaluate
Override TokenOne-time token issued after human approval

Returns: Execution result or denial reason.

Approve / Deny Action

Resolves a pending escalated action.

InputRequiredDescription
Approval IDUUID of the pending approval
CommentReason for the decision (logged in audit trail)

List Audit Records

Query the tamper-evident audit log.

InputRequiredDescription
Start TimeISO 8601 datetime
End TimeISO 8601 datetime
Action TypeFilter by action category
Decisionallow, deny, or escalate
LimitMax records to return (default 50)

Installing the Integration

The UAPK Gateway Zapier app is currently in private beta. To get access:

  1. Contact [email protected] with subject "Zapier Beta Access"
  2. You'll receive an invitation link to install the private app
  3. Once the app completes Zapier's review process, it will be available publicly at zapier.com/apps/uapk-gateway

Self-Hosting

If you run a self-hosted UAPK Gateway instance, the Zapier integration source is included in the SDK:

git clone https://github.com/UAPK/gateway.git
cd sdks/zapier
npm install
zapier push # requires zapier-platform-cli and your Zapier developer account

See the Zapier Platform docs for details on running your own private copy.