Luna

Generate automation flows with Luna AI

Luna can automatically generate automation workflows from natural language descriptions. Instead of building flows manually, describe what you want to automate and Luna will create the workflow for you.

This is a beta feature. Always verify generated workflows before activating them—Luna may make mistakes.

Generate a workflow with Luna

To generate an automation flow:

  1. Open the Luna page in your Ploy dashboard

  2. Use the "Generate automation flow" playbook (What are Luna Playbooks?)

  3. Describe your desired workflow in plain English

  4. Review the generated flow and verify each step

  5. Make any necessary adjustments before activating

Writing effective prompts

Be specific about what should trigger the workflow and what actions to take. Include:

  • Trigger: What event should start the workflow (e.g., "when a new employee joins")

  • Conditions: Any criteria that must be met (e.g., "if they're in the Engineering department")

  • Actions: What should happen (e.g., "grant access to GitHub and Slack")

Example: "When a new member is discovered in the Engineering department, send their manager a Slack message asking which GitHub team they should join, then grant the appropriate access."

Review generated workflows

After Luna generates a workflow, carefully verify:

  • Triggers: Confirm the workflow starts at the right time

  • Logic: Check conditions and branching make sense

  • Actions: Verify each action does what you intended

  • Scope: Ensure it applies to the right apps, teams, or members

Test new workflows with a narrow scope first. You can expand them after confirming they work correctly.

For more on workflows, see Introduction to Workflows.

Was this helpful?