Back to Templates
repo:public_repo
(or repo
) scope and add it to n8n credentials.manifestPath
– path to your deep-link manifest (AndroidManifest.xml, Info.plist, etc.).scriptPath
– helper script that boots the emulator & checks each route.This workflow delivers an automated, CI-friendly smoke-test of every deep link defined in your mobile app. On each push to an open GitHub PR, it:
Requirement | Notes |
---|---|
n8n Cloud / CE | Works everywhere; self-hosted users need Docker with Android / Xcode if validating on-runner. |
GitHub Personal Access Token | Used for posting PR comments. |
Emulator-capable runner | Local dev hardware or CI image that can run adb / xcrun simctl . |
pull_request
→ synchronize
(i.e., each push to the PR branch).CONFIG - Variables
) centralises repo URL, manifest path, script path, timeout, and comment mode.Settings → Import workflow
and paste the JSON above.scripts/validate_deeplinks.sh
into your repo (see sample below).validate_deeplinks.sh
#!/usr/bin/env bash
set -e
while getopts "m:" opt; do
case $opt in
m) MANIFEST="$OPTARG" ;;
esac
done
echo "⇨ Parsing deep links from $MANIFEST"
# rudimentary parser—replace with something smarter for XML/Plist
grep -oE 'http[s]?://[^" ]+' "$MANIFEST" | while read -r uri; do
if adb shell am start -W -a android.intent.action.VIEW -d "$uri" >/dev/null 2>&1; then
echo "$uri,OK"
else
echo "$uri,FAIL"
fi
done
commentMode
to replace-latest
and update the GitHub node to search for the newest bot comment before editing.Add-On | Idea |
---|---|
Multi-platform sweep | Loop over Android + iOS manifests and aggregate results. |
Slack/Teams alert | Push failures into your chat of choice via Incoming-Webhook node. |
Parallel device grid | Trigger multiple emulators (API 19 → 34) to catch OS-specific issues. |
Issue | Possible Cause | Solution |
---|---|---|
Workflow hangs at “Execute – Validate” | Emulator image isn’t installed | Pre-install SDK & start the emulator in a startup script |
PR comment missing | Token lacks repo scope |
Regenerate PAT with proper scopes |
All links marked FAIL | Manifest path incorrect | Update manifestPath in CONFIG |
Command node hits timeout | Huge manifest / slow CI | Increase timeoutSecs in CONFIG |
Stuck or want to extend this with multi-platform coverage? WeblineIndia’s automation experts can help.
Drop us a note to fine-tune or scale out your n8n workflows — fast.