Skip to main content

Using AI to Generate Worker Code

Some worker types allow AI-assisted code or configuration generation.

Typical Flow

  1. Insert a custom/action worker that supports AI assist.
  2. Click "Generate with AI" (button or icon).
  3. Describe the transformation or goal in natural language.
  4. Review the proposed code or parameter set.
  5. Accept and test via Data Preview.

Tips

  • Be specific about input shape and desired output.
  • Iterate: refine prompt if first result is incomplete.
  • Always validate outputs before sharing or monetizing.

Safety

Do not include secrets or personal data in AI prompts. Keep descriptions functional.

Next: Creating Custom Workers.