Automatically Handle POS Apps Not in the Foreground with AirDroid Business and Freshservice
When a POS app is not in the foreground, the checkout interface may become inaccessible, disrupting daily store operations.
Even when an MDM solution has detected the issue and generated an alert, IT teams may still need to manually check device status, attempt to recover the app, notify on-site personnel, and then create and track tickets in a separate ITSM system. This disconnect between device alerts and IT incident management adds manual work and makes it harder to establish a seamless incident response process.
By connecting device management tools with ITSM systems through AI-powered workflow automation, IT teams can link alerts, device information collection, automated recovery, human intervention, and ticket creation into a single process.
In this guide, we'll show you how to combine AirDroid Business and Freshservice to build an automated workflow for POS app incident response and ticket management.
1Workflow Overview – From POS Alert to Freshservice Ticket
To bridge the gap between device alerts and IT incident management, businesses can use AirDroid Business to build an automated workflow that connects POS device monitoring, incident response, and ticket tracking.
The diagram below illustrates the complete process, from an initial POS device alert to creating and managing incident tickets in Freshservice.

When AirDroid Business detects that a monitored POS app has stopped running in the foreground, it triggers an alert. The workflow then validates the alert, collects relevant device information, and attempts to reopen the app. Based on the recovery results and the administrator's selected response, the workflow can notify on-site personnel or generate a remote control link. For incidents requiring further intervention, it also creates a Freshservice ticket so the IT team can track and manage the issue.
With this approach, businesses can use automation to handle POS app incidents while bringing issues that require human intervention into the IT ticket management process, ensuring that follow-up actions are documented and traceable.
Keep Your POS Apps Running as Expected
Monitor POS app status, detect when apps leave the foreground, and automate recovery actions with AirDroid Business.
2From POS App Alerts to Automated Response and Ticket Creation
1Create an Automation Task to Detect POS Apps Not in the Foreground
First, create an event-triggered automation task in AirDroid Business to monitor the foreground status of your POS apps.
In the AirDroid Business Admin Console, follow these steps:
- Step 1: Go to Workbench > Automation Task.
- Step 2: Click Create Task and select Event under Trigger.

- Step 3: Select Foreground App Status as the event type and set Trigger Status to Stop running in the foreground.
- Step 4: Click Add and select the POS app you want to monitor.

- Step 5: In the Device Range section, select the POS devices or device groups to which the monitoring task should apply.
2Configure the Automation Workflow Template
AirDroid Business provides a range of ready-to-use automation workflow templates covering common business and device management scenarios. You can use these templates without having to build every workflow from scratch. If an existing template does not fully meet your requirements, you can modify it or create a custom workflow tailored to your business needs.
The Critical App Alert Response and Recovery template is designed to handle incidents where a critical app stops running in the foreground. It provides a basic alert response and app recovery process. To automate this process, continue configuring the workflow under the Actions tab.
- Step 1: Select Workflows and click Add Automation.
- Step 2: Go to Workflow Templates, search for Critical App Alert Response and Recovery, and click Use Template.

The template first validates the alert and collects relevant device and app information before attempting to reopen the target app. It then refreshes the device status, checks whether an updated device screenshot is available, and generates an investigation report for the administrator.
Based on the device information in the report, the administrator can choose to continue observing the issue, request on-site assistance, or use remote control for further troubleshooting.

3Modify the Workflow to Connect to Freshservice
The original Critical App Alert Response and Recovery template primarily notifies administrators by email and executes follow-up actions based on their selected handling options. However, it does not integrate with Freshservice to automatically create IT tickets.
With a few modifications, you can connect Freshservice to the workflow to automate incident ticket creation and tracking. This is one way to implement Freshservice workflow automation and build a device alert to Freshservice ticket process.
1. Add Freshservice ticket creation nodes to the Remote and Onsite branches
To avoid unnecessary tickets and help IT teams focus on issues that genuinely require further attention, Freshservice ticket creation nodes should not be placed immediately after the alert trigger. Instead, they should be added separately to the Remote and Onsite branches. This ensures that a ticket is created only when the administrator selects an option that requires further intervention.
To add a Freshservice ticket creation node, open the workflow editor and navigate to Node > App > Freshservice > Create a Ticket. Add the node to the following two branches:
- Onsite: Place the ticket creation node before the email notification node. This allows the ticket information to be included in the notification email sent to on-site personnel.
- Remote: Place the ticket creation node after the remote control link has been successfully generated and before the email notification node. This allows the notification email to include both the ticket information and the remote control link.

2. Configure the Freshservice ticket information
When configuring the Freshservice ticket creation node, map the relevant incident information to the corresponding Freshservice ticket fields, such as the device name, POS app name, alert type, automated recovery actions, and investigation results.

For example:
- Email: Email address of the Freshservice requester.
- Subject: POS App Not in Foreground – Device Name
- Description: Include alert details, device information, and automated recovery results.
- Priority: Set according to your incident handling requirements.
- Group / Responder: Assign the ticket to the appropriate IT support group or agent if needed.
Make sure your Freshservice account credentials have been configured before using the node.
For more details, refer to the Freshservice integration documentation. To learn how to manage retail POS alerts and prioritize incidents based on their business impact across multiple store locations, see our guide to automating POS alert management across retail stores.
3. Include the Freshservice ticket number in notification emails
After the Freshservice node successfully creates a ticket, use the output returned by the node to retrieve the corresponding ticket ID or ticket number, and map it to the existing email content. This allows administrators or on-site personnel to quickly locate the relevant incident using the ticket number, making subsequent handling and follow-up easier.
Optional: Avoid Duplicate Tickets
If the same POS device repeatedly triggers alerts of the same type, consider checking Freshservice for an existing unresolved ticket before creating a new one. Add a Get Many Tickets node before ticket creation and configure conditional logic based on the query results. If a matching ticket already exists, you can update the existing ticket; otherwise, create a new one.
This helps reduce duplicate tickets, prevents the same issue from being split across multiple tickets, and makes it easier for IT teams to track and manage incidents centrally.
Connect Device Alerts to IT Incident Management
Go beyond device alerts. Automate POS app recovery, create Freshservice tickets for incidents requiring further attention, and keep your IT response workflow connected.
3Key Considerations for Reliable POS Incident Management
To make the automated workflow more effective in real-world POS management scenarios, consider the following points in addition to automated response and ticket creation.
1. Set Ticket Priorities Based on Business Impact
Not all POS incidents have the same business impact. For example, an issue affecting a single backup POS device may be less urgent than one affecting multiple checkout terminals in a store. We recommend setting ticket priorities in Freshservice based on factors such as the number of affected devices, store operating status, and business impact. This helps IT teams prioritize incidents that pose a greater risk to checkout operations.
2. Verify POS Functionality After Recovery
Successfully reopening a POS app through an automated workflow does not necessarily mean the entire POS system has recovered. Although the app may return to the foreground, transaction status, payment functions, or connected peripherals may still have issues. For incidents that require further verification, ask on-site staff to check whether the checkout interface and key transaction functions are working normally before considering the issue resolved.
3. Investigate the Root Causes of Recurring Issues
If the same POS device or store repeatedly experiences incidents where the POS app leaves the foreground, simply reopening the app may not address the root cause. IT teams should regularly review related Freshservice tickets to identify patterns involving specific devices, app versions, or configurations. Further investigation and adjustments can help reduce the recurrence of similar incidents.
4Conclusion
For retail businesses, the stable operation of POS devices is directly linked to daily store operations. As the number of stores and POS devices grows, the challenge for IT teams is no longer limited to resolving individual device issues. It is also about establishing a more efficient and sustainable approach to managing incidents across increasingly complex device environments.
POS incident management should go beyond detecting issues and sending alerts. Businesses need to bridge the gap between device management and IT service management, allowing automation and AI to take on more repetitive tasks. This enables IT teams to devote more time to complex issue analysis and business support, while providing stores with more reliable and sustainable IT operations.
If you want to apply similar automation capabilities to other device management scenarios, you can start with the Critical App Alert Response and Recovery workflow template and explore more ways to automate your operations.
Scale Smarter POS Operations Across Your Stores
Simplify Android POS device management with centralized monitoring, automated workflows, kiosk management, and remote support. See how AirDroid Business can help your retail IT team manage devices more efficiently.
Leave a Reply.