agentleFS
mdmiller5933mdmiller5933/agentic-it-ops/skills/freshservice-automation-builder/SKILL.md

freshservice-automation-builder

Skill0 starsChanged 3 months agoMITView on GitHub

Build, inspect, update, test, or troubleshoot Contoso Freshservice native Workflow Automator rules and ticket automations. Use when the user asks to create Freshservice automations, approval gates, workflow automator rules, ticket routing, incident/service-request conversion, Dorian/security approval flows, EUC handoffs, or any Freshservice automation behavior that must run inside Freshservice rather than as a local sidecar script.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this with the it-operations skill when the task is Contoso-specific.

    line 10
  2. Distinctive:

    Use live Freshservice API for ticket state and verification.

    line 15
  3. Distinctive:

    Prefer cloning an existing workflow or creating a draft/version before editing an active workflow.

    line 17
  4. Very specific:

    Verify by reading back every affected node through node_info and checking ticket activities after a controlled trigger.

    line 20
  5. Distinctive:

    Leave the Freshservice workflow tab open when useful for user review.

    line 21
  6. Very specific:

    Use approval_status = Not Requested only when the field is known to exist for the target tickets.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Freshservice Automation Builder

Core Workflow

Use this with the it-operations skill when the task is Contoso-specific. Read references/workflow-automator.md before changing native Freshservice Workflow Automator rules.

  1. Confirm the target workspace, ticket module, trigger, conditions, actions, and testing scope.
  2. Use live Freshservice API for ticket state and verification. Do not print API keys, cookies, CSRF tokens, or auth headers.
  3. For native Workflow Automator definitions, use the authenticated Freshservice admin UI/session; the public v2 API does not expose workflow definitions. To obtain that session on Avery's workstation (CDP browser + Outlook magic-link login), see references/authenticated-session.md in the freshservice-service-catalog skill. That sibling skill covers service catalog items, categories, and requester→agent conversion; this skill stays scoped to Workflow Automator rules and ticket automations.
  4. Prefer cloning an existing workflow or creating a draft/version before editing an active workflow. Keep changes tightly scoped.
  5. Save nodes one at a time and refresh/use the newest workflow token after each save.
  6. Publish or activate the workflow only when the user explicitly asks for activation/publishing or confirms it at handoff. Otherwise leave the workflow drafted or deactivated and tell the user what to activate manually. A node can read back correctly from the edit surface while the active workflow still runs the previous published version.
  7. Verify by reading back every affected node through node_info and checking ticket activities after a controlled trigger.
  8. Leave the Freshservice workflow tab open when useful for user review.

Contoso Defaults

  • Tenant: https://contoso.freshservice.com
  • IT workspace ID: 2
  • EUC Monitoring Team group ID: 34000153387
  • GRC - Security group ID: 34000172540
  • Dorian Prescott agent ID: 34002240315
  • Known active workflow created from this work: 34000381035, EUC Security Review Approval Gate - Native Approval

Approval Gate Pattern

For security review tickets sent to Dorian:

  • Trigger on ticket_action:update when the rule must apply to both Incidents and Service Requests.
  • Gate on ticket_type includes ["Incident", "Service Request"], group_id = GRC - Security, responder_id = Dorian Prescott.
  • Use approval_status = Not Requested only when the field is known to exist for the target tickets. Freshly created Incidents may not expose an approval status before the first service approval, so that guard can prevent the initial approval from firing.
  • Initial action should request approval from Dorian. Convert Incidents to Service Requests only if the user wants conversion; do not change status unless explicitly requested.
  • Approval outcome branches may route back to EUC. Do not change status unless explicitly requested.

Validation

Read back:

  • workflow graph from /ws/2/admin/ticket_automators/{workflow_id}
  • each node from /ws/2/admin/ticket_automators/{workflow_id}/node_info?stage_id={stage_id}&wf_node={wf_node}
  • ticket evidence from /api/v2/tickets/{ticket_id}, /approvals, /approval-groups, and /activities

Success evidence should include the workflow name in ticket activities, the expected ticket type/group/status, and a requested approval group with the expected approver.

For controlled tests, change a meaningful ticket field such as group/agent assignment to trigger the workflow. Tag-only updates may not execute the native Workflow Automator even when they appear in ticket activities.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.