# Using Triggers

**This section explores triggers and their applicability to Entity records. By the end of this section, you will be able to create triggers for created, updated, and deleted entity records.**

## Triggers

* Triggers are events that users can define to be initiated after a record is created, updated, or deleted in an entity.&#x20;
* Triggers are defined within the Entity template under the Triggers tab.

![](/files/DsXSdsTYRLB3Xh5z8xL7)

* Triggers are of 3 types:&#x20;
  * After Create: An After Create trigger can be defined to initiate actions after a record is created.&#x20;
  * After Update: An After Update trigger can be defined to initiate actions after a record is updated.&#x20;
  * After Delete: An After Delete trigger can be defined to initiate actions after a record is deleted.&#x20;
* Triggers contain predefined variables based on the type of trigger.&#x20;
* Users can define additional variables as required.


---

# 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.langstack.com/welcome/get-started/learn-langstack/using-triggers.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.
