# New Item in Feed — RSS

> Emit new items from an RSS feed

- Key: `rss-new-item-in-feed`
- Type: Trigger (Polling)
- Version: 1.2.10
- App: RSS (`rss`) — https://pipedream.com/apps/rss.md
- This page (HTML): https://pipedream.com/apps/rss/triggers/new-item-in-feed
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/rss/sources/new-item-in-feed/new-item-in-feed.ts

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `timer` | `$.interface.timer` | Yes | How often you want to poll the feed for new items |
| `url` | `string` | Yes | Enter the URL for any public RSS feed |
| `publishedAfter` | `string` | Yes | Emit items published after the specified date in ISO 8601 format .e.g 2022-12-07T12:57:10+07:00 |

## Returns

Events emitted by RSS.

## Run it

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const deployed = await pd.triggers.deploy({
  id: "rss-new-item-in-feed",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    rss: { authProvisionId: "apn_xxxxxxx" },
    timer: { "intervalSeconds": 900 },
    url: "Feed URL",
  },
  webhookUrl: "https://example.com/webhooks/rss",
})

console.log(deployed.id)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/triggers/deploy \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "rss-new-item-in-feed",
    "webhook_url": "https://example.com/webhooks/rss",
    "configured_props": {
      "rss": { "authProvisionId": "apn_xxxxxxx" },
      "timer": { "intervalSeconds": 900 },
      "url": "Feed URL"
    }
  }'
```

**MCP**

MCP servers expose RSS actions as on-demand tools.

New Item in Feed is an event source, so your application deploys it with the Connect SDK or API and then either receives each event at a webhook URL or retrieves events on demand with the trigger events API.

## Event delivery

Every event is sent to the HTTP endpoint you choose when you deploy the source. Or: no webhook required — your app or agent can fetch recent events from the [trigger events API](https://pipedream.com/docs/connect/api-reference/list-trigger-events.md) instead.

---

- App: https://pipedream.com/apps/rss.md · All apps: https://pipedream.com/apps
