> For the complete documentation index, see [llms.txt](https://docs.acymailing.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acymailing.com/old/integration-plugins/events/plugin-redevent.md).

# Plugin: redEvent

## Description <a href="#description" id="description"></a>

​![](/files/-MJgQZliRknIbhS7n6Ee)This plugin enables you to insert events (one by one or by a selection on one or several categories) from redEvent in your Newsletter.

You can also use this plugin to automatically include your upcoming events in an Auto-newsletter or a Newsletter.

You can search in all your events and then click on one of the events to include it in your Newsletter.

## Install the plugin <a href="#install-the-plugin" id="install-the-plugin"></a>

* Log in to your backend and click on the menu "**Extensions -> Install / Uninstall**".
* Browse for the plugin you just downloaded and then click on the button "**Upload File & Install**".
* You should now see the ***AcyMailing : insert events from redEvent*** plugin in the list of plugins. Don't forget to publish this plugin.

## Plugin <a href="#plugin" id="plugin"></a>

### Single Event <a href="#single-event" id="single-event"></a>

![](/files/-MJgQbN_4xPDg87C_0qB)

Event

You can use this interface to insert any event in your Newsletter.

Each event can be selected one by one.

### Upcoming Events <a href="#upcoming-events" id="upcoming-events"></a>

![](/files/-MJgQdAoXd0o1AeTGHdJ)

categories

You can select one or several event categories and AcyMailing will automatically include the upcoming events from the selected categories when their starting date is inferior to the maximum starting date you specified.

* **Maximum Number of Articles**: The inserted tag will be replaced by a maximum of X events.
* **Maximum Starting Date**: AcyMailing will only include events when their starting date is less than X days after the current time. You can define this delay using this parameter.
* **Minimum Number of Articles**: This option will only be displayed if you access this plugin for a Smart-Newsletter. AcyMailing will only generate your Smart-Newsletter if the minimum number of events found is reached.

## Parameters <a href="#parameters" id="parameters"></a>

![](/files/-MJgQep7B6pUsc9eW3Ax)

Params

* **Hide Past Events** : This option enables you to display or not the past events in the Event selection.
* **Event Template** : By default, AcyMailing will replace the inserted tag by the event description but you can create your own event template by filling this parameter on the plugin configuration. You can insert html code and tags which will be replaced by the content of the inserted event.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.acymailing.com/old/integration-plugins/events/plugin-redevent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
