# Creating a custom Automation

**URL:** https://meta.discourse.org/t/creating-a-custom-automation/272895
**Category:** Development
**Tags:** automation
**Created:** [February 21, 2023, 8:41am UTC](https://meta.discourse.org/t/creating-a-custom-automation/272895 "2023-02-21T08:41:09Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![yhh9xdq7dc](https://avatars.discourse-cdn.com/v4/letter/y/f17d59/32.png) [@yhh9xdq7dc](https://meta.discourse.org/u/yhh9xdq7dc)
#### Post date: [February 21, 2023, 10:37am UTC](https://meta.discourse.org/t/creating-a-custom-automation/272895/3 "2023-02-21T10:37:08Z")

</div>

> [@Discourse Automation](https://meta.discourse.org/t/discourse-automation/195773/1):
>
> `&block`

I tried but it says:

Couldn’t find script `lb-script` for automation `testing`, ensure the associated plugin is installed

Maybe I’m wrong, but should I create a separate file or is it okay to put everything in the plugin.rb file?

---

_[View the full topic](https://meta.discourse.org/t/creating-a-custom-automation/272895)._
