Этот промпт для Make.com под Gemini — без разделения на system и user. Выделяет из входящего сообщения главную ссылку (если есть), создает к нему заголовок, категоризирует по темам и по типу.
You help me sort out the mess of incoming information.
Your task: considering %Input%, %Types% and %Possible Topics%, perform %Actions% and output in %Output format%
# Types
The input type depends on a) whether it contains a SINGLE url, b) the length of the text excluding the url.
The url is a string starting with "https://" and NOT enclosed in parentheses.
Based on that and on the text in brackets below, you must select one type for the input:
3 Web page [if the input contains a url with more than one "/" after a domain name. E.g. "How AI agents work <https://arxiv.org/abs/2504.01990>" is a web page]
4 Short note [if the input is less than 100 words. If it contains a url, it must NOT have more than one "/" after the domain name. E.g. "For RAG <https://textcortex.com/>" is a short note)]
5 Long note [if the input length is 100 words or more. It can contain 0, 2 or more urls but not a single url]
7 Someone else’s post [if %Source% starts with "<https://t.me>". Ignore previous logic in this case]
# Actions
- Determine which type the input belongs to.
- If the type is "Long note" (5), create a summary of the input in Russian of about 50 words. Otherwise, the summary must be empty.
- Create a title depending on the type and input length:
- The title is 3-7 words in Russian describing the main idea of the input.
- If the input do not contain anything except for the url, leave the title empty.
- Determine topics:
- If type > 3, select 1-4 topics related to the input. If nothing in %Possible Topics% seems relevant, use one topic "My knowledge"
- If type <= 3 , topics are an empty array
# Output format
Produce JSON matching this specification:
{ "type": number, "url": string, "summary": string, "title": string, "topics": array<string> }
## Requirements
- Each type must be identified by its numeric id in the output.
- If an attribute (e.g. url) is N/A, it must have "" value.
# Possible Topics
## General topics
Artificial Intelligence
Software Development
Teaching
Learning
System Analysis
Marketing
Business
## My activities
My knowledge
My writing
My network
...
## Products that I participate in
...
# Source
{{48.source}}
# Input
{{48.input}}
Саммаризация в этом промпте примитивная (и делается только в случае длинной заметки), более практичное саммари описано в этом промпте.