PromptsVault AI is thinking...
Searching the best prompts from our community
Searching the best prompts from our community
Prompts matching the #automation tag
Create reusable Terraform module for multi-cloud deployment (AWS/Azure). Features: 1. Networking layer (VPC/VNet). 2. Variables for customization (instance types, regions). 3. State management with remote backend (S3/Blob). 4. Security groups and firewall rules. 5. Load balancer configuration. 6. Output values for connection strings. 7. Terratest scripts for validation. 8. Documentation with input/output tables. Include conditional resource creation logic.
Design reusable Cypress E2E testing framework. components: 1. Page Object Model (POM) pattern. 2. Custom commands for common actions. 3. API interception for mocking backend. 4. Visual regression testing (percy/applitools). 5. Dynamic data generation (faker.js). 6. Environment configuration (staging/prod). 7. CI/CD integration using GitHub Actions. 8. Flaky test retry logic. Include HTML report generation.
Build robust CI/CD automation pipeline. Workflow: 1. Set up multi-stage builds (test, build, deploy). 2. Implement automated testing (unit, integration, e2e). 3. Add code quality checks (linting, security scanning). 4. Configure Docker image building and optimization. 5. Set up environment-specific deployments (dev, staging, prod). 6. Implement blue-green deployment strategy. 7. Add automated rollback on failure. 8. Configure Slack/email notifications. Include secrets management and deployment approval gates.
Implement automated performance testing using JMeter and cloud scaling for application performance validation. JMeter test automation: 1. Test plan structure: thread groups, samplers, listeners, assertions for validation. 2. Parameterization: CSV data files, random variables, dynamic request generation. 3. CI/CD integration: headless execution, result analysis, performance regression detection. 4. Distributed testing: master-slave configuration for high-load simulation. Performance test types: 1. Load testing: normal expected load (1000 concurrent users), steady state performance. 2. Stress testing: breaking point identification, failure mode analysis, recovery testing. 3. Spike testing: sudden traffic increases, autoscaling validation, resource exhaustion scenarios. 4. Volume testing: large data set processing, database performance, storage capacity. Metrics and SLAs: 1. Response time: 95th percentile <500ms, average <200ms, maximum <2s. 2. Throughput: requests per second targets, sustained load capability. 3. Error rate: <0.1% for successful operations, graceful degradation under load. 4. Resource utilization: CPU <70%, memory <85%, database connections <80% of pool. Cloud-based testing: 1. AWS Load Testing Solution: distributed load generation, real-time monitoring. 2. Azure DevOps Load Testing: cloud-scale testing, geographic distribution. 3. GCP Cloud Load Testing: global load simulation, auto-scaling validation. Automated analysis: 1. Baseline comparison: performance trends, regression detection, alerting. 2. Report generation: HTML reports, trend analysis, SLA compliance verification. Integration testing: API performance, database query optimization, caching effectiveness, CDN performance validation.
Build a production-grade CI/CD pipeline using GitHub Actions. Workflow: 1. Trigger on push to main and pull requests. 2. Run linting and unit tests in parallel. 3. Build Docker image with caching. 4. Run integration tests against test environment. 5. Deploy to staging on main branch merge. 6. Manual approval gate for production deployment. 7. Rollback mechanism on failure. Use secrets management, matrix builds for multiple Node versions, and status badges. Include deployment notifications to Slack.
Write a simple Bash script that iterates through all the `.txt` files in the current directory and prints the first line of each file. The script should handle cases where no `.txt` files are found.
Create a Jenkins declarative pipeline for Java application. Stages: 1. Checkout code from Git. 2. Build with Maven. 3. Run unit tests and code coverage (JaCoCo). 4. Static code analysis (SonarQube). 5. Build Docker image. 6. Push to container registry. 7. Deploy to Kubernetes. 8. Run smoke tests. Use parallel stages for efficiency. Implement pipeline as code (Jenkinsfile). Include credential management, artifact archiving, and email notifications on failure.
Build effective email automation. Workflows: 1. Welcome series for new subscribers. 2. Abandoned cart recovery. 3. Post-purchase follow-up. 4. Re-engagement for inactive users. 5. Birthday/anniversary campaigns. 6. Lead nurturing sequences. 7. Behavioral triggers based on actions. 8. Segmentation for personalization. Use ESPs like Klaviyo or Mailchimp. Monitor open rates, CTR, and conversions.
Test API endpoints comprehensively. Approach: 1. Test full request/response cycle. 2. Use real database (test instance). 3. Setup/teardown for clean state. 4. Test authentication and authorization. 5. Validate response schemas. 6. Test error scenarios. 7. Performance testing. 8. Security testing. Use Supertest or similar. Run in CI/CD. Separate from unit tests. Mock external APIs.
Retain customers with lifecycle marketing. Stages: 1. Onboarding (welcome, education). 2. Activation (first value moment). 3. Engagement (ongoing value delivery). 4. Retention (win-back inactive users). 5. Expansion (upsell, cross-sell). 6. Advocacy (referrals, reviews). 7. Segment communication by stage. 8. Measure cohort retention rates. Use RFM analysis. Focus on high-value segments.
Personalize outbound emails efficiently. Research (2-3 mins per prospect): 1. Recent LinkedIn post or company news. 2. Mutual connections. 3. Technology they use (BuiltWith, SimilarWeb). 4. Recent job postings (indicates growth/pain). Personalization tiers: High-value accounts (custom per person): '[Name], saw your post about hiring 3 SDRs. Are you also scaling your sales tech stack?' Medium-value (templated with custom first line): 'Noticed [company] is using [tool]. How is that working for [specific pain point]?' Low-value (segment-based): '[Industry] companies typically face [challenge]. Curious if you're experiencing this?' Tools: Phantombuster for data enrichment, ChatGPT for variation generation, Instantly/Lemlist for sending. Batching: research 50 prospects, write custom lines, plug into sequence. Track: personalized emails get 3-5x reply rate vs generic. Test different personalization levels to find ROI sweet spot.
Automate server configuration and application deployment using Ansible for consistent, repeatable infrastructure management. Ansible architecture: 1. Control node: Ansible installation, inventory management, playbook execution. 2. Managed nodes: SSH access, Python installation, no agent required. 3. Inventory: static hosts file or dynamic inventory from cloud providers. 4. Modules: idempotent operations, return status (changed/ok/failed). Playbook structure: 1. YAML syntax: tasks, handlers, variables, templates, and roles organization. 2. Idempotency: tasks run multiple times with same result, state checking. 3. Error handling: failed_when, ignore_errors, rescue blocks for fault tolerance. 4. Variable precedence: group_vars, host_vars, extra_vars hierarchy. Role development: 1. Directory structure: tasks, handlers, templates, files, vars, defaults. 2. Reusability: parameterized roles, role dependencies, Galaxy integration. 3. Testing: molecule for role testing, kitchen for infrastructure testing. Configuration management: 1. Package management: ensure specific versions, security updates, dependency resolution. 2. Service management: start/stop services, enable on boot, configuration file deployment. 3. Security hardening: user management, firewall rules, SSH configuration, file permissions. Deployment strategies: rolling updates, blue-green deployments, canary releases with health checks every 30 seconds.
Multi-touch email campaign structure. Day 1: Introduction email (50 words, single CTA). Subject: '[Name], quick question about [pain point]'. Day 3: Value email (share case study, specific results). Day 5: Social proof email (customer quote, G2 review). Day 8: Video email (1-min personalized Loom). Day 12: Content email (share relevant blog post, no ask). Day 17: Different angle email (new pain point). Day 23: Break-up email ('Should I close your file?'). Track: open rate, click rate, reply rate. Stop sequence if prospect replies. Personalize first line each email. Use tool: Outreach, SalesLoft, Apollo. A/B test subject lines continuously.
Leverage AI to augment sales efficiency. AI tool categories: 1. Conversation Intelligence (Gong, Chorus): call recording, transcription, coaching insights. 2. Email Writing (Lavender, Jasper): generate personalized emails at scale. 3. Prospecting (Clay, Apollo): enrich data, find lookalikes, trigger alerts. 4. Meeting Intelligence (Fireflies, Otter): transcribe meetings, auto-create follow-up tasks. 5. Lead Scoring (Madkudu, 6sense): predict conversion likelihood. Workflow integration: 1. Gong records all calls, highlights keywords, action items. 2. Clay enriches prospect list with company data, growth signals. 3. Jasper drafts personalized emails using prospect data. 4. Apollo sequences emails automatically. 5. Fireflies sends meeting summary to CRM. 6. Madkudu flags high-intent leads for priority follow-up. Human role: review AI outputs, add personal touch, strategic decisions. Time saved: 10-15 hours/week. ROI: higher activity (20% more outreach), better quality (personalization improves response 3x). Train reps on AI tools in onboarding.
Build comprehensive E2E testing with Playwright. Test structure: 1. Page Object Model for maintainability. 2. Multi-browser testing (Chromium, Firefox, WebKit). 3. Parallel test execution. 4. Visual regression with screenshots. 5. Network mocking and interception. 6. Authentication state persistence. 7. Trace viewer for debugging. 8. CI/CD integration with GitHub Actions. Use fixtures for test data, implement retry logic, and generate HTML reports with test results.
Automate server provisioning with Ansible playbooks. Tasks: 1. Install and configure Nginx with SSL. 2. Set up firewall rules (UFW). 3. Configure automatic security updates. 4. Deploy application from Git repository. 5. Set up log rotation and monitoring agents. 6. Create system users with SSH keys. 7. Harden SSH configuration. Use roles for modularity, variables for environment-specific configs, and vault for secrets. Include inventory management and idempotency checks.
Set up effective CI/CD pipeline. Stages: 1. Source (code commit triggers pipeline). 2. Build (compile, dependency installation). 3. Test (unit, integration, e2e tests). 4. Code Quality (linting, code coverage, SonarQube). 5. Security Scan (dependency vulnerabilities, SAST). 6. Deploy to Staging (automated). 7. Deploy to Production (manual approval or automated). Tools: GitHub Actions, GitLab CI, Jenkins, CircleCI. Use Docker for consistent environments. Parallel jobs for speed. Fail fast. Notifications on failure. Blue-green or canary deployments. Infrastructure as Code (Terraform). Measure: deployment frequency, lead time, MTTR.