Install
openclaw skills install twitter-x-apify-actorsUse this skill when the user needs Twitter/X audience collection through Apify actors (followers/following/both) with optional email enrichment, username ext...
openclaw skills install twitter-x-apify-actorsThis skill runs a reliable actor-based pipeline for Twitter/X lead collection using Apify. It extracts a username from an X/Twitter link, runs a follower/following actor, optionally runs an email actor, and returns normalized rows for outreach workflows.
Use this skill when a user asks to:
Default actor IDs in this skill:
bIYXeMcKISYGnHhBGmSaHt2tt3Z7Fcwf0ohttps://x.com/..., https://twitter.com/..., or @username).collectType and limit.scripts/apify_twitter_actors.py.collectType (followers, following, both) and positive limit.APIFY_TOKEN or explicit CLI argument.Users can provide the Apify API token in two supported ways.
export APIFY_TOKEN='apify_api_xxx'
python3 scripts/apify_twitter_actors.py run-pipeline \
--target 'https://x.com/elonmusk' \
--collect-type followers \
--limit 1000 \
--include-emails
python3 scripts/apify_twitter_actors.py run-pipeline \
--apify-token 'apify_api_xxx' \
--target 'https://x.com/elonmusk' \
--collect-type followers \
--limit 1000 \
--include-emails
If both are provided, --apify-token is used. If neither is provided, the script returns an explicit authentication error.
Run with Python 3.10+.
python3 scripts/apify_twitter_actors.py parse-username --target 'https://x.com/elonmusk'
APIFY_TOKEN='apify_api_xxx' \
python3 scripts/apify_twitter_actors.py run-followers \
--target 'https://x.com/elonmusk' \
--collect-type followers \
--limit 1000
APIFY_TOKEN='apify_api_xxx' \
python3 scripts/apify_twitter_actors.py run-pipeline \
--target 'https://x.com/elonmusk' \
--collect-type followers \
--limit 1000 \
--include-emails
Quick auth check:
APIFY_TOKEN='apify_api_xxx' \
python3 scripts/apify_twitter_actors.py run-followers \
--target 'https://x.com/elonmusk' \
--collect-type followers \
--limit 10
For contracts and payload details, read:
references/actor-contracts.mdreferences/troubleshooting.mdThe pipeline returns JSON with:
targetUsernamecollectTypetotalCollectedemailsFoundrows[] with username, name, email, sourceType, collectedAtUse this output directly in n8n Code/HTTP nodes or export to CSV/Google Sheets.