Feature Use Case
How can I use custom actions in DevOps tool support?
Use custom actions in Chatref to automate common DevOps tasks directly in the support chat. The AI agent, grounded in your own documentation, can collect details like pipeline names or error codes, then trigger your existing tools – restarting builds, fetching logs, or creating tickets – without leaving the conversation. This accelerates resolution while your team stays focused on complex issues.
What custom actions unlock for DevOps teams
Custom actions turn your Chatref agent from a doc-answering assistant into a task-completing tool. Instead of telling users to open another window and run a command, the agent handles the work inside the chat. For DevOps support, that means:
- Automating repetitive checks: restart a failed pipeline, look up deployment status, or print recent error logs.
- Collecting structured input once, then acting: ask for an environment name or commit hash, and the agent invokes your CI/CD or monitoring API.
- Reducing context switching for both your users and your support team.
When paired with Chatref’s knowledge base – your runbooks, API references, and incident guides – the agent can answer “what does this error mean?” and then trigger the fix through a custom action. That is DevOps task automation from a single conversation.
How to set up custom actions in Chatref
Building a custom action requires no complex coding. Inside Chatref’s agent builder:
- Define the action inputs – specify what information the agent must collect from the user (e.g., pipeline name, service name, error code).
- Connect your DevOps tool – provide the webhook or API endpoint that the action will call. You can use tools like Jenkins, GitHub Actions, PagerDuty, or your internal services.
- Configure the prompt and responses – decide what the agent says when it asks for the input, and what it reports back after the action succeeds or fails.
- Test in the playground – simulate user chats to verify the agent prompts for the right details and the tool responds as expected.
Once live, the agent handles the entire flow: it recognizes when a custom action is appropriate, asks for the needed details, and executes the call on your behalf. All without writing frontend code or leaving the chat.
Ground your agent in your DevOps knowledge base
Custom actions are powerful only when the agent knows why and when to use them. That’s where Chatref’s knowledge-base capability comes in. Point the agent at your help docs, runbooks, changelogs, and API references. In minutes, it learns your content and starts answering questions grounded in those sources.
When a developer asks “Why is my build failing with error E100?” the agent first surfaces the relevant documentation. If the fix involves a routine restart or a log fetch, the agent can then offer a custom action to execute that step. The combination of retrieval-grounded answers and actionable tool calls makes for true custom actions in support – no guesses, no dead-end article links.
Examples of automating DevOps tasks with custom actions
Here are a few workflows you can automate right inside Chatref for a Developer & DevOps tools product:
- Restart a stalled CI pipeline – collect the pipeline ID, call your CI/CD API (Jenkins, GitLab, CircleCI), and confirm the restart.
- Fetch and display recent error logs – ask for the service name and time window, hit your logging endpoint (e.g., CloudWatch, ELK), and return a summarized trace.
- Create a ticket in your backlog – capture title, description, and priority via the chat, then push a new bug or story into Jira, Linear, or GitHub Issues.
- Check the current deployment status – query your deployment tool for the latest version, health, or rollout status and display it in the chat.
Each example demonstrates automating DevOps tasks that normally require a human to interrupt their flow, open dashboards, and click through UIs.
FAQ
Benefits of custom actions in DevOps support
Custom actions reduce mean time to resolution by executing routine fixes without human intervention. They eliminate the back-and-forth of “can you run this command?” and keep both end users and support engineers in flow. The agent becomes a single interface for documentation and tooling, cutting context switches and tool sprawl.
How to implement custom actions
Within Chatref, navigate to the custom actions section of your agent’s configuration. Define the input fields, configure the API endpoint or webhook for your DevOps tool, and set the responses. Once saved, the agent automatically prompts users for the required details in chat and executes the call. You can iterate and test in the built-in playground before going live.
Tools for automating DevOps tasks
Chatref’s custom actions can connect to any tool with a REST API or webhook, including CI/CD systems (Jenkins, GitHub Actions, CircleCI), incident management (PagerDuty, Opsgenie), logging (CloudWatch, Splunk), and ticketing platforms (Jira, ServiceNow). The AI agent orchestrates these tools based on the user’s request, so your automation layer lives right where your users are asking for help.
Put this into practice
Chatref answers your customers from your own content, day and night. Add it to your site and go live in minutes – free to start.