|
| 1 | +export const DEVTO_TUTORIAL_PROMPT = `Create a step-by-step tutorial showing developers how to use my Apify Actor to achieve [SPECIFIC OUTCOME], optimized for dev.to. |
| 2 | +
|
| 3 | +Tutorial Requirements: |
| 4 | +- Title: "How to [ACHIEVE SPECIFIC OUTCOME] with [YOUR ACTOR NAME]" (clear, action-oriented) |
| 5 | +- Word count: 1,200-2,000 words (thorough but scannable) |
| 6 | +- Step-by-step format walking through using the Actor |
| 7 | +- Include screenshots suggestions and what users will see |
| 8 | +- Conversational, developer-to-developer tone |
| 9 | +- Focus on practical usage and configuration |
| 10 | +- Include tips and optional features |
| 11 | +
|
| 12 | +Your Actor details: |
| 13 | +- Actor name: [YOUR ACTOR NAME] |
| 14 | +- Actor URL: [YOUR APIFY STORE URL] |
| 15 | +- Actor README: [PASTE YOUR ACTOR'S README OR KEY SECTIONS] |
| 16 | +- Main use case: [WHAT PROBLEM IT SOLVES] |
| 17 | +- Key features: [LIST 3-5 MAIN FEATURES] |
| 18 | +- Output format: [WHAT DATA/RESULTS USERS GET] |
| 19 | +
|
| 20 | +Content structure: |
| 21 | +1. Introduction (100-150 words): |
| 22 | + - Hook: Start with what readers will accomplish |
| 23 | + - Why this Actor is useful/who it's for |
| 24 | + - What they'll learn by the end |
| 25 | + - Time estimate (e.g., "⏱️ This takes about 10 minutes") |
| 26 | +
|
| 27 | +2. Prerequisites (50-100 words): |
| 28 | + - Free Apify account (mention you can sign up with email or GitHub) |
| 29 | + - Any other requirements |
| 30 | + - No coding required (if applicable) |
| 31 | +
|
| 32 | +3. "What you'll achieve" overview (100-150 words): |
| 33 | + - Brief description of the end result |
| 34 | + - What data or outcome they'll get |
| 35 | + - Example use case |
| 36 | +
|
| 37 | +4. Step-by-step tutorial using the Actor: |
| 38 | +
|
| 39 | + Step 1: Access [YOUR ACTOR NAME] |
| 40 | + - Instructions: "Go to the [Actor Name] page on Apify Store to try it for free." |
| 41 | + - Mention account creation (email or GitHub) |
| 42 | + - Explain they'll be redirected to Apify Console |
| 43 | + - What to expect: "You'll see the Actor's input configuration page" |
| 44 | + - Screenshot suggestion: Actor page or Console view |
| 45 | +
|
| 46 | + Step 2: Configure [Primary Input/Settings] |
| 47 | + - Explain the main input field(s) based on your README |
| 48 | + - Provide specific examples (like "bagel" and "New York") |
| 49 | + - Explain what the Actor will do with this input |
| 50 | + - Show different options if your Actor has multiple input methods |
| 51 | + - Tips for getting better results |
| 52 | + - Screenshot suggestion: Input configuration |
| 53 | +
|
| 54 | + Step 3: [Additional Configuration - if applicable] |
| 55 | + - Explain optional settings or advanced features |
| 56 | + - When and why to use each option |
| 57 | + - Examples of different configurations |
| 58 | + - Best practices from your experience |
| 59 | + - Screenshot suggestion: Advanced settings panel |
| 60 | +
|
| 61 | + Step 4: Run the Actor |
| 62 | + - Click "Start" or "Run" button |
| 63 | + - What happens: Status changes to "Running" |
| 64 | + - How long it typically takes |
| 65 | + - What's happening behind the scenes (briefly) |
| 66 | + - "⚠️ Tip: You can leave the page and come back - the run will continue" |
| 67 | +
|
| 68 | + Step 5: View and download results |
| 69 | + - Navigate to Storage tab or Results |
| 70 | + - Preview the data |
| 71 | + - Explain the data structure/fields |
| 72 | + - Available export formats (JSON, CSV, Excel, etc.) |
| 73 | + - How to filter or select specific data |
| 74 | + - Screenshot suggestion: Results page with data |
| 75 | +
|
| 76 | + [Add more steps if your Actor has additional features] |
| 77 | +
|
| 78 | +5. "Understanding your results" (150-200 words): |
| 79 | + - Explain what each key field means |
| 80 | + - How to interpret the data |
| 81 | + - Example of actual output |
| 82 | + - Common questions about results |
| 83 | +
|
| 84 | +6. "Pro tips and advanced usage" (150-200 words): |
| 85 | + - 3-5 tips for getting better results |
| 86 | + - How to optimize for speed or cost |
| 87 | + - Advanced configuration options |
| 88 | + - Integration possibilities (API, webhooks, etc.) |
| 89 | + - Common use cases from users |
| 90 | +
|
| 91 | +7. "Troubleshooting common issues" (100-150 words): |
| 92 | + - 2-3 common problems and solutions |
| 93 | + - Where to check for errors |
| 94 | + - How to get support |
| 95 | +
|
| 96 | +8. "Next steps" (50-100 words): |
| 97 | + - How to automate or schedule runs |
| 98 | + - Integration ideas |
| 99 | + - Link to documentation |
| 100 | + - Encouragement to experiment |
| 101 | +
|
| 102 | +Writing guidelines: |
| 103 | +- Write like you're helping a friend get started |
| 104 | +- Use "we" and "let's" language |
| 105 | +- Be encouraging and supportive |
| 106 | +- Explain what users will see at each step |
| 107 | +- Use bullet points for options or lists |
| 108 | +- Include emoji sparingly for visual breaks (✅, 🚀, ⚠️, 💡) |
| 109 | +- Format Actor/button names in bold |
| 110 | +- Use > quote blocks for important notes |
| 111 | +- Keep paragraphs short and scannable |
| 112 | +
|
| 113 | +Screenshot guidance: |
| 114 | +- Suggest specific screenshots for each major step |
| 115 | +- Describe what should be visible in each screenshot |
| 116 | +- Example: "Screenshot showing the input form with 'bagel' entered in search field" |
| 117 | +- Mention UI elements to highlight (buttons, fields, tabs) |
| 118 | +
|
| 119 | +Actor-specific details: |
| 120 | +- Use actual field names from your Actor's input schema |
| 121 | +- Reference specific features from your README |
| 122 | +- Include real example inputs that work well |
| 123 | +- Mention any enrichment features or add-ons |
| 124 | +- Explain pricing tier differences if relevant |
| 125 | +- Link to Actor documentation for deep dives |
| 126 | +
|
| 127 | +SEO optimization: |
| 128 | +- Use "how to [achieve outcome]" in title and 3-5 times in content |
| 129 | +- Include "[Actor name] tutorial", "[Actor name] guide" |
| 130 | +- Use problem-related keywords (what your Actor solves) |
| 131 | +- Mention "Apify" 3-5 times naturally |
| 132 | +
|
| 133 | +dev.to-specific elements: |
| 134 | +- Suggest 4 tags (e.g., #tutorial, #automation, #webscraping, #api) |
| 135 | +- Write a compelling first paragraph for feed preview |
| 136 | +- Include a discussion prompt at end: "What are you planning to scrape? Drop a comment! 💬" |
| 137 | +- Suggest a cover image concept (your Actor in action or logo) |
| 138 | +- Add liquid tag suggestions if relevant ({% link %}, {% github %}) |
| 139 | +
|
| 140 | +Please generate the complete tutorial now in markdown format, based on the Actor's README, with clear steps that walk users through the entire process from accessing the Actor to downloading results.`; |
0 commit comments