← Integrations catalog

Yandex Dzen

v1.0.0 yandex-dzen 7.7 KB 5 connectors

Package for Flow Manager

pack-yandex-dzen.usint

SHA-256 · 5be6776a65c6…

Download .usint

About Yandex Dzen and the integration

Яндекс Дзен — платформа для публикации статей, постов и роликов. Официального публичного REST API для автопубликации нет: коннекторы работают через editor-api с сессией браузера (Cookie + X-Csrf-Token из DevTools после входа в dzen.ru/profile/editor). Секреты храните в {{env.*}} (Настройки → Окружения).

What the integration package can do

  • List of the channel's publications (editor-api, session)
  • Publishing and updating articles
  • Short posts (brief)
  • Public channel feed (launcher API, no authorization)

Connectors in the package

Store API keys and secrets in the platform: Settings → Environments. Add an Environment node to the flow — the variables become available as {{env.KEY}}.

Dzen · Public channel feed

yandex-dzen-get-channel-feed

out · dzen

Public publications of the channel (launcher API, no authorization)

Parameters (inputs)

Field Key Type
Channel name (slug from the dzen.ru/… URL) channel_name string required
Country code country_code string optional

Environment variables

Variable Purpose Value Where to get
YANDEX_DZEN_LAUNCHER_URL Base URL of the public launcher API https://dzen.ru dzen.ru
YANDEX_DZEN_USER_AGENT User-Agent for requests to Dzen Mozilla/5.0 (compatible; UniShift/1.0) Optional; can be copied from the browser

Dzen · Get publication

yandex-dzen-get-publication

out · dzen

Publication card by ID (editor-api, browser session)

Parameters (inputs)

Field Key Type
Publication ID publication_id string required

Environment variables

Variable Purpose Value Where to get
YANDEX_DZEN_API_URL Base URL of the Dzen editor-api https://dzen.ru dzen.ru
YANDEX_DZEN_COOKIE Dzen session cookie (the whole Cookie header) Session_id=…; yandexuid=…; … dzen.ru/profile/editor → DevTools → Network → Cookie
YANDEX_DZEN_CSRF_TOKEN CSRF token of the Dzen editor-api value of the X-Csrf-Token header dzen.ru/profile/editor → DevTools → Network → X-Csrf-Token
YANDEX_DZEN_USER_AGENT User-Agent for requests to Dzen Mozilla/5.0 (compatible; UniShift/1.0) Optional; can be copied from the browser

Dzen · List of publications

yandex-dzen-list-publications

out · dzen

List of the channel's publications through the editor-api (a browser session is required)

Parameters (inputs)

Field Key Type
Limit limit number optional
Offset offset number optional
Type (article, brief, gif, native) publication_type string optional

Environment variables

Variable Purpose Value Where to get
YANDEX_DZEN_API_URL Base URL of the Dzen editor-api https://dzen.ru dzen.ru
YANDEX_DZEN_COOKIE Dzen session cookie (the whole Cookie header) Session_id=…; yandexuid=…; … dzen.ru/profile/editor → DevTools → Network → Cookie
YANDEX_DZEN_CSRF_TOKEN CSRF token of the Dzen editor-api value of the X-Csrf-Token header dzen.ru/profile/editor → DevTools → Network → X-Csrf-Token
YANDEX_DZEN_USER_AGENT User-Agent for requests to Dzen Mozilla/5.0 (compatible; UniShift/1.0) Optional; can be copied from the browser

Dzen · Publish an article

yandex-dzen-publish-article

out · dzen

Creating or publishing an article through the editor-api (session + CSRF from DevTools)

Parameters (inputs)

Field Key Type
Publication ID (empty = new) publication_id string optional
Title title string required
Content JSON (contentState / blocks) content_json textarea required
Publish (true/false) publish select optional

Environment variables

Variable Purpose Value Where to get
YANDEX_DZEN_API_URL Base URL of the Dzen editor-api https://dzen.ru dzen.ru
YANDEX_DZEN_COOKIE Dzen session cookie (the whole Cookie header) Session_id=…; yandexuid=…; … dzen.ru/profile/editor → DevTools → Network → Cookie
YANDEX_DZEN_CSRF_TOKEN CSRF token of the Dzen editor-api value of the X-Csrf-Token header dzen.ru/profile/editor → DevTools → Network → X-Csrf-Token
YANDEX_DZEN_USER_AGENT User-Agent for requests to Dzen Mozilla/5.0 (compatible; UniShift/1.0) Optional; can be copied from the browser

Dzen · Publish a post

yandex-dzen-publish-post

out · dzen

Short post (brief) through the editor-api

Parameters (inputs)

Field Key Type
Post text text textarea required
Image URL image_url string optional
Publish (true/false) publish select optional

Environment variables

Variable Purpose Value Where to get
YANDEX_DZEN_API_URL Base URL of the Dzen editor-api https://dzen.ru dzen.ru
YANDEX_DZEN_COOKIE Dzen session cookie (the whole Cookie header) Session_id=…; yandexuid=…; … dzen.ru/profile/editor → DevTools → Network → Cookie
YANDEX_DZEN_CSRF_TOKEN CSRF token of the Dzen editor-api value of the X-Csrf-Token header dzen.ru/profile/editor → DevTools → Network → X-Csrf-Token
YANDEX_DZEN_USER_AGENT User-Agent for requests to Dzen Mozilla/5.0 (compatible; UniShift/1.0) Optional; can be copied from the browser

API: GET /api/integrations/pack-yandex-dzen · GET /api/integrations/pack-yandex-dzen/download