# Action

An Action is a task that is performed after the trigger event occurs. For any event workflow to work, there has to be at least one action too. This is a very simple relationship - the trigger event acts as the stimulus for the next step i.e. the action.

Example: In this case, the trigger is a Jenkins job notification and the action is sending an email in GMail.

![](/files/-LCCCLbgRzESJ9omn-nF)

Now actions can occur based on conditions also, which we will cover in the next part of the documentation.


---

# Agent Instructions: 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:

```
GET https://docs.yellowant.com/workflows/event-workflows/building-event-workflows/action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
