Gather query history when usage looks unusual
Turn an unexpected spend signal into a query history review so the team can investigate with recorded usage data.
Trigger
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Action
Get query history
Tool to retrieve historic api usage logs including latency, token counts, costs, and source ip. use after authenticating to analyze past queries for cost management, performance monitoring, or auditing.
Why this helps
Unexpected usage is stressful to investigate when the initial report creates another open-ended task to gather evidence.
- Start the investigation from the original usage alert.
- Review recorded costs and token counts in query history.
- Reduce time between spotting a spike and gathering context.
Setup
Build it in a few focused steps.
- 1Connect Slack and Apipie AI to Notis once through the portal.
- 2Create an automation with a plain-language instruction to retrieve Apipie query history when a Slack message flags unexpected usage or a cost spike.
- 3Select the Slack Channel Message Received trigger and choose a channel for run reports.
- 4Test with one real Slack message reporting a recent usage spike.
Questions about this workflow
Does this identify the cause of a spike?
No. It retrieves query history for the team to analyze.
Can this reduce usage automatically?
No. It only retrieves historic query data; usage changes need a separate decision and action.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slack to Apipie ai. A trigger fires from one place; an action lands in another.
Slack triggers
Apipie ai actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Delete Vectors
Tool to delete an entire vector collection or specific vectors. use when you need to remove vector data after identifying your target collection or vectors.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Fetch model restrictions
Tool to retrieve a list of country restrictions for models. use when you need to verify allowed deployment countries before final model selection.
New Channel Created Trigger
Triggered when a new channel is created in Slack.
Get query history
Tool to retrieve historic api usage logs including latency, token counts, costs, and source ip. use after authenticating to analyze past queries for cost management, performance monitoring, or auditing.
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
List AI Models
Tool to fetch a list of available ai models. use when you need up-to-date model listings and want to filter by. model type, subtype, provider, or retrieve specialized lists like voices or restrictions.
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
Message Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
Connect any two apps with Notis in the middle.
Slack and Apipie ai, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Apipie ai.