Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / E-Mail-Automatisierung

E-Mail-Automatisierung

Watch brand edits on Wikipedia and Wikidata with OpenAI and email summaries

On a schedule, it handles email with OpenAI / ChatGPT using Data Table, SMTP Email.

Was sie bewirkt

## Watch what Wikipedia and Wikidata say about you Much of what an assistant says about a company comes from two pages the company cannot edit. Both change without warning and neither sends a notification. This checks them on a schedule, reads what actually changed, and separates the edits that move how you are described from the housekeeping. ### How it works Both wikis are asked at the same time and merged, because wbgetentities finds an item by its Wikipedia title - so the Wikidata id never has to be configured, and neither request waits for the other. Each is asked for its latest revision only. Adding rvlimit to a multi-title query is an error that arrives as HTTP 200 with an error body: green node, no revisions, no report, forever. What Changed Since sorts every source into *edited*, *no page at all*, or *unchanged*. A missing page is not an error - it comes back as an ordinary object carrying missing: true - and for a brand watch it is the finding. Those get a search instead of a diff: on Wikipedia the articles that already mention you, on Wikidata the items that look like you and are linked to nothing. Fetch Each Diff Or Search uses action=compare, not the REST diff, which answers 400 on Wikidata because a Wikibase item cannot be converted to text. On Wikidata it labels the field that moved: label / pl, aliases / pl / 0. ### Setup 1. Settings takes the article titles, a language, a User-Agent naming you, and the two addresses. 2. A Data Table called entity_watch with columns source_key, entity, source, revid, state and checked_on. 3. An OpenAI credential and an SMTP credential. 4. Use the exact article title. Redirects are followed and the title they land on is what gets stored.

Die Schritte

  1. Check The Sources Weekly
  2. Or Run It Now
  3. Settings
  4. Ask Wikipedia What It Says Now
  5. Read The Page States
  6. Ask Wikidata What It Says Now
  7. Read The Item States
  8. Put The Two Wikis Together
  9. Read What You Saw Last Time
  10. What Changed Since
  11. Worth Looking At?
  12. Fetch Each Diff Or Search
  13. Read The Diffs
  14. Judge The Edits

Insgesamt 20 Schritte.

Ähnliche Automatisierungen