Skip to content
AskNews

How to use AskNews

CommerceCost: 1 credit per runTechnical reference

What it is for

AskNews component allows you to search and retrieve enriched real-time and historical news articles using AskNews API.

AskNews triggers react instantly to events in the app.

Set up the connection

Authentication type: API key or token

  1. 1Sign in to AskNews and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a AskNews step, click "Connect" and paste it.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Search News: fill in Query; use the data selector to map values from earlier steps.
  • Generate News Knowledge Graph: fill in Query; use the data selector to map values from earlier steps.
  • Get Article by ID: fill in Article ID(s); use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (1)

Events that can start a flow. Expand each one to see its fields.

Alert for QueryWebhook (paste the URL in the app)6 fields
FieldTypeRequired
Alert QueryLong textYes
Cron ScheduleTextYes
ModelFixed listNo
Always TriggerYes / NoNo
RepeatYes / NoNo
Alert TitleTextNo

Actions (8)

Operations available as flow steps. Expand each one to see its fields.

Search News8 fields
FieldTypeRequired
QueryTextYes
Number of ArticlesNumberNo
Search MethodFixed listNo
Return TypeFixed listNo
Search Historical ArchiveYes / NoNo
Hours BackNumberNo
CategoriesMulti-selectNo
Similarity Score ThresholdNumberNo
Generate News Knowledge Graph10 fields
FieldTypeRequired
QueryTextYes
Return ArticlesYes / NoNo
Min Cluster ProbabilityNumberNo
Geo DisambiguationYes / NoNo
Query MethodFixed listNo
Number of ArticlesNumberNo
Search HistoricalYes / NoNo
Hours BackNumberNo
CategoriesMulti-selectNo
Visualize WithTextNo
Get Article by ID1 fields
FieldTypeRequired
Article ID(s)List of valuesYes
Chat Completion10 fields
FieldTypeRequired
User MessageLong textYes
ModelFixed listNo
TemperatureNumberNo
Max TokensNumberNo
Journalist ModeYes / NoNo
Inline CitationsFixed listNo
Append ReferencesYes / NoNo
Include AskNews WatermarkYes / NoNo
Conversational AwarenessYes / NoNo
System PromptLong textNo
Search Stories (Narrative Clusters)5 fields
FieldTypeRequired
QueryTextNo
Search MethodFixed listNo
CategoriesMulti-selectNo
Expand UpdatesYes / NoNo
Sort ByFixed listNo
Create a Newsletter13 fields
FieldTypeRequired
Newsletter NameTextYes
QueryLong textYes
Cron ScheduleTextYes
ModelFixed listYes
Sender EmailTextYes
SubjectTextNo
Logo URLTextNo
Reply-To EmailTextNo
Audience IDTextNo
Resend API KeyTextNo
Is PublicYes / NoNo
Is ActiveYes / NoNo
Expiration DateTextNo
Update a Newsletter14 fields
FieldTypeRequired
Newsletter IDTextYes
Newsletter NameTextNo
QueryLong textNo
Cron ScheduleTextNo
ModelFixed listNo
SubjectTextNo
Sender EmailTextNo
Logo URLTextNo
Reply-To EmailTextNo
Audience IDTextNo
Resend API KeyTextNo
Is PublicYes / NoNo
Is ActiveYes / NoNo
Expiration DateTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps