# How do I run an agent when a new Jira issue, an email or a database row appears?

**URL:** <https://community.sparkflows.ai/t/how-do-i-run-an-agent-when-a-new-jira-issue-an-email-or-a-database-row-appears/381>\
**Category:** Agentic AI\
**Tags:** faq, user-guide, genai, schedule\
**Created:** [November 5, 2026, 11:55am UTC](https://community.sparkflows.ai/t/how-do-i-run-an-agent-when-a-new-jira-issue-an-email-or-a-database-row-appears/381 "2026-11-05T11:55:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aryan](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Aryan](https://community.sparkflows.ai/u/Aryan)\
**Post date:** [November 5, 2026, 11:55am UTC](https://community.sparkflows.ai/t/how-do-i-run-an-agent-when-a-new-jira-issue-an-email-or-a-database-row-appears/381/1 "2026-11-05T11:55:59Z")

</div>

1. Drop a **Trigger** , choose the event kind, pick the app and the event: Jira “New issue”, Gmail “Email received”, PostgreSQL “Row added”.
2. Pick the connection and the details: the project or the table, a filter, the look-back.
3. Click **Fetch a sample**. It runs the same check and shows the fields an event carries. Save needs a successful sample.
4. Set **Check every** in minutes. The agent then polls on that interval.

Use `${event.key}`, `${event.subject}`, `${event.id}` in the next nodes. The sample shows the exact names.
