Skip to main content

Overview

PhoneClaw’s voice interface lets you create automation workflows by simply describing what you want to accomplish. The system uses speech recognition and AI to generate ClawScript code automatically.
Voice generation is the fastest way to create automations. Just say “open Twitter and post a tweet every hour” and PhoneClaw generates the complete script with scheduling.

How Voice Generation Works

  1. You speak a natural language command
  2. PhoneClaw transcribes your speech
  3. An AI agent analyzes your request
  4. ClawScript code is generated automatically
  5. The script is saved and ready to run or schedule

Setting Up Voice Commands

Voice Command Examples

Simple Automation

Generate a basic automation workflow:

Scheduled Task

Create an automation that runs on a schedule:
When you say “every hour,” “daily,” or “every Monday,” PhoneClaw automatically generates the correct cron expression and schedules the task.

Multi-Step Workflow

Generate complex workflows with multiple steps:

Conditional Logic

Generate scripts with branching:

Voice Command Patterns

Action Verbs

Start commands with clear action verbs:
  • “Open” - Launch apps or navigate
  • “Click” - Tap buttons or elements
  • “Type” - Enter text in fields
  • “Upload” - Select files/photos
  • “Check” - Read or verify content
  • “Wait” - Add delays

Location Descriptors

Include position information:
  • “in the top right corner”
  • “at the bottom of the screen”
  • “in the navigation bar”
  • “below the title”
  • “next to the profile picture”

Visual Characteristics

Describe what elements look like:
  • “the blue send button”
  • “the red notification badge”
  • “the plus icon”
  • “the heart-shaped like button”
  • “the three-dot menu”

Timing Keywords

Specify when to run:
  • “every hour”0 * * * *
  • “every day at 9am”0 9 * * *
  • “every Monday”0 0 * * 1
  • “every 30 minutes”*/30 * * * *
  • “once a week”0 0 * * 0
You don’t need to know cron syntax! Just use natural language timing and PhoneClaw generates the correct schedule.

Advanced Voice Commands

Multi-App Workflows

Generates a script that:
  • Switches between Twitter and Instagram
  • Extracts content from one app
  • Inputs it into another
  • Handles timing between app switches

Loop Operations

Generates a script with:
  • A loop that runs 10 times
  • Click action for the like button
  • Scroll action to next post
  • Delays between actions

Data Extraction

Generates a script that:
  • Opens notifications
  • Uses magicScraper to extract text
  • Iterates through multiple notifications
  • Speaks each one with speakText

Editing Generated Scripts

Voice-generated scripts can be edited:

Troubleshooting Voice Commands

Command Not Recognized

  • Speak clearly and at a moderate pace
  • Use shorter, simpler sentences
  • Avoid background noise
  • Try rephrasing with more common words

Wrong Script Generated

  • Be more specific about element descriptions
  • Include visual details (color, shape, icon)
  • Specify exact locations (top, bottom, left, right)
  • Break complex commands into smaller ones

Microphone Button Not Working

  • Check microphone permission in Settings
  • Restart PhoneClaw app
  • Test with another voice app to verify microphone works
  • Ensure device volume is not muted

Generated Code Has Errors

  • View the Generation History to see exact code
  • Edit the script manually to fix issues
  • Test commands individually before combining
  • Check logs for specific error messages

Best Practices

Be Specific

Use Natural Language

Include Timing

Break Down Complex Tasks

Instead of:
Try:
Then:
Then:

Real-World Examples

Here are commands from actual PhoneClaw demos:

TikTok Video Upload

Email 2FA Code Extraction

Captcha Solving

Waymo Twitter Automation

These examples are from actual PhoneClaw demo videos showing real-world automation scenarios.

Next Steps

Schedule Your Automations

Learn cron expressions and recurring tasks

Multi-App Workflows

Chain actions across multiple apps

ClawScript Reference

See all available functions