Integrations/ServiceNow
Live

GuardEntry × ServiceNow

Integrate GuardEntry with ServiceNow Flow Designer so every AI agent action is evaluated against your compliance policy before it executes. Setup takes about 10 minutes.

Prerequisites

  • ServiceNow instance (Tokyo or later) with Integration Hub licensed
  • A GuardEntry API key — get one free at guardentry.ai/connect
  • Admin role or flow_designer + import_set_admin roles
1

Import the GuardEntry Spoke

  1. 1. In ServiceNow, go to System Update SetsRetrieved Update SetsImport Update Set from XML
  2. 2. Upload GuardEntry_Spoke.xml and click Upload
  3. 3. Open the imported update set → click Preview Update Set → resolve any conflicts → click Commit Update Set

The spoke adds two Flow Designer actions to your instance:

  • GuardEntry: Evaluate Agent Action — call before any agent action
  • GuardEntry: Log Policy Event — log custom events to the audit trail
2

Configure the Connection Alias

The Connection Alias stores your GuardEntry API key and base URL.

  1. 1. Go to Connections & CredentialsConnection & Credential Aliases
  2. 2. Find GuardEntry Connection (installed by the spoke) → click to open
  3. 3. Under Connections, click New:
FieldValue
NameGuardEntry Production
Credentialcreate new — see below
Connection URLhttps://app.guardentry.ai/api/v1

4. To create the Credential: click New Credential:

FieldValue
TypeAPI Key Credentials
NameGuardEntry API Key
Request LocationHeader
Request Parameter NameAuthorization
Request Parameter ValueBearer fgrc_k1_your_key_here

5. Click Save on both the credential and connection.

3

Add to your Flow Designer flow

  1. 1. Open Flow Designer → open the flow where your AI agent runs
  2. 2. Click Add Action → search for GuardEntry
  3. 3. Select GuardEntry: Evaluate Agent Action and drag it before your first agent action step
  4. 4. Configure inputs:
InputValueNotes
contentDescription of the action being takene.g. "Update user record: " + trigger.fields.description
agent_idYour agent/flow identifierOptional — helps with per-agent audit
directioningressAlways ingress for pre-action evaluation

5. Add a Condition after the GuardEntry action:

  • • If decision equals block → add Error step, set message to the reasoning output
  • • If decision equals require_approval → add a Request Approval step
  • • Otherwise → continue to the agent action

6. Click SaveActivate

Available outputs

The Evaluate Agent Action step returns:

OutputTypeDescription
decisionStringallow | block | require_approval | uncertain
confidenceNumber0–1 confidence score
reasoningStringHuman-readable explanation of the decision
matchedRuleStringWhich policy rule triggered (if any)
sessionIdStringSession ID — include on egress call to link records

Troubleshooting

⚠️"Connection refused" or 401 errors — Check that the credential Authorization header value is Bearer fgrc_k1_... (with the Bearer prefix) and the Connection URL is exactly https://app.guardentry.ai/api/v1.
⚠️Update Set conflicts — The spoke only adds new records. Accept all incoming changes unless you have an existing GuardEntry Connection alias from a previous install — in that case, skip the alias conflict.
⚠️All decisions are allow — Your policy may be in Observability Mode. The 👁 observe badge in your GuardEntry dashboard means violations are logged but not blocked. Switch to enforcement from the policy settings page when ready.