View as Markdown
NewsCatcher icon

NewsCatcher ACTION

Create Job

Create a new job in Newscatcher. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's NewsCatcher account once, then configure and run Create Job from your backend or agent.

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 result = await pd.actions.run({
  id: "newscatcher-create-job",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    newscatcher: { authProvisionId: "apn_xxxxxxx" },
    query: "Query",
    schema: "Schema",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Job inputs
Property Type Description
query Query string
Natural language question describing what to find. Example: AI company acquisitions
Required
schema Schema string
Template string to guide record summary formatting. Use placeholder syntax with brackets to indicate desired fields: [COMPANY], [REVENUE], [TARGET], [AMOUNT], etc. Example: [ACQUIRER] acquired [TARGET] for [AMOUNT]
Optional
context Context string
Additional context to focus on specific aspects of your query. Example: Focus on deal size and acquiring company details
Optional
startDate Start Date string
Start of date range for article search (ISO 8601 format with UTC timezone). Must be within plan's allowed lookback period. Default is 5 days before current date if not specified. Example: 2026-01-30T00:00:00Z
Optional
endDate End Date string
End of date range for article search (ISO 8601 format with UTC timezone). Must be within plan's allowed lookback period. Default is current date if not specified. Example: 2026-02-16T00:00:00Z
Optional
limit Limit integer
Maximum number of records to return. If not specified, defaults to your plan limit.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
newscatcher-create-job
Version
0.0.2
App
NewsCatcher
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes