See llms.txt for all machine-readable content.
This workflow automatically analyzes any newly uploaded APK file and produces a clean, professional PDF security report. When an APK appears in Google Drive, the workflow downloads it, sends it to MobSF for security scanning, summarizes the results, generates an HTML report using AI, converts it into a PDF via PDF.co and finally saves the PDF back to Google Drive.
This workflow provides a complete automated pipeline for analyzing Android APK files. It removes the manual process of scanning apps, extracting security insights, formatting reports and distributing results. Each step is designed to streamline application security checks for development teams, QA engineers and product managers.
Once the workflow detects a new APK in Google Drive, it passes the file to MobSF for a detailed static analysis. The workflow extracts the results, transforms them into a clear and well-structured HTML report using AI and then converts the report into a PDF. This ensures the end-user receives a polished audit-ready security document with zero manual involvement.
This workflow is ideal for:
Create a folder specifically for APK uploads. Configure the Watch APK Uploads (Google Drive) node to monitor this folder for new files.
Install Docker and run:
docker run -it --rm -p 8000:8000 \
-v $(pwd)/mobsf:/home/mobsf/.MobSF \
opensecurity/mobile-security-framework-mobsf
Open MobSF at http://localhost:8000 and copy your API key.
Add credentials for:
Use Generate PDF (PDF.co API) to convert the HTML to PDF.
Download using Download Generated PDF, then upload via Upload PDF to Google Drive.
You can extend this workflow with:
(Many more use cases can be built using the same workflow foundation.)
| Issue | Possible Cause | Solution |
|---|---|---|
| MobSF API call fails | Wrong API key or URL | Check MobSF is running and API key is correct. |
| PDF not generated | Invalid HTML or PDF.co key | Validate HTML output and verify PDF.co credentials. |
| Workflow not triggering | Wrong Google Drive folder | Reconfigure Drive Trigger node with the correct folder ID. |
| APK upload fails | File not in binary mode | Ensure HTTP Upload node is using “Binary Data” correctly. |
| Scan returns empty data | MobSF not fully started | Wait for full MobSF startup logs before scanning. |
If you need assistance setting up this workflow, customizing it or adding advanced features such as Slack alerts, CI/CD integration or bulk scanning, our n8n workflow development team at WeblineIndia can help.
We specialize in building secure, scalable, automation-driven workflows on n8n for businesses of all sizes.
Contact us anytime for support or to build custom workflow automation solutions.