A Gleap custom agent can read OneSignal apps, devices, users and notifications through the OneSignal REST API toolkit on Composio. It helps mobile and web teams that send push notifications with OneSignal and hear about delivery problems in Gleap.
What a Gleap agent can do in OneSignal REST API
- Check the device: View Device returns the details of a customer’s device, such as its platform and subscription state.
- Find the user: Fetch User Identity returns all aliases for a user, which links your user ID to their OneSignal subscriptions.
- Review recent sends: View Notifications lists the app’s notifications, so the agent can check what went out and when.
- Fix a subscription on request: Update Subscription changes a subscription’s enabled status when a customer asks to stop or restart push.
Example: Push reminders stopped arriving
A customer tells Gleap support that booking reminders stopped arriving on their phone. The teammate asks the agent to look. The agent fetches the user’s identity, checks their device and sees that push is disabled on the subscription since a recent app reinstall. The teammate explains how to allow notifications again in the phone settings.
How to connect OneSignal REST API
- In Gleap, open AI & Automation > Agents and select a custom agent, or create one.
- In its Tools section, click Add tool and search for “OneSignal”.
- Pick OneSignal REST API under More integrations and click Connect OneSignal REST API.
- Paste your OneSignal REST API key into the form Gleap shows and connect.
- Open the new OneSignal REST API tool and switch off every action the agent does not need, such as Create Notification or Delete Device.
- Tell the agent in its instructions when to use OneSignal, then test it in chat.
Custom agents are included in the Team, Pro and Enterprise plans. Kai Support can use connected apps as tools on Team, Pro and Enterprise. Kai Code, also on those plans, can use OneSignal REST API in coding sessions once you add it under Settings > MCP in Kai Code.
FAQ
Does Gleap integrate with OneSignal REST API?
Yes, through Composio. A Gleap custom agent can view apps, devices, segments and notifications, manage users, aliases and subscriptions and create notifications and templates. It acts only during an agent run.
What can a Gleap AI agent do in OneSignal REST API?
It diagnoses push problems for the customer in a ticket with device and subscription data and applies the changes the customer asks for. Your team decides what to tell the customer.
Which Gleap plan includes the OneSignal REST API integration?
Kai Support and Kai Code can use the OneSignal REST API toolkit on Team, Pro and Enterprise; custom agents that use it are on Team, Pro and Enterprise. Kai Support answers customers, so switch on only actions that are safe in a customer conversation. Use the REST API key of the OneSignal app your customers use. AI usage is billed separately; see pricing.
Can the agent send push notifications?
Create Notification sends a push to the audience you pass, so it is a customer-facing action. Keep it off for support agents; Gleap has its own push notifications for messages you want to send from Gleap.