디스커스 자동화

:discourse2: 요약 Discourse Automation은 스크립트와 트리거를 통해 작업을 자동화할 수 있습니다. 자동 생성된 UI를 통해 사용자 지정이 가능합니다.
:open_book: 설치 가이드 이 플러그인은 Discourse 코어에 포함되어 있습니다. 플러그인을 별도로 설치할 필요가 없습니다.

기능

  • 복잡한 워크플로우의 쉬운 자동화
  • 특정 날짜, 주기적으로 또는 특정 이벤트 발생 시 자동화 트리거
  • 자동화를 위한 옵션을 지정하기 위해 자동 생성된 UI 제공

구성

자동화는 Admin → Plugins → Automations에서 또는 /admin/plugins/discourse-automation에서 직접 생성 및 업데이트할 수 있습니다.

사용 가능한 스크립트

가이드 스크립트 트리거 설명
:bookmark: 사용자 정의 필드를 통해 그룹에 사용자 추가 :black_small_square:주기적
:black_small_square:첫 로그인
사용자 정의 사용자 필드를 기반으로 사용자를 그룹에 추가합니다
:bookmark: 마지막 확인자 추가 :black_small_square:포스트 쿠키 후 OP 하단에 ‘마지막 확인자’ 기능을 추가합니다
:bookmark: 마지막 편집자 추가 :black_small_square:포스트 쿠키 후 OP 하단에 ‘마지막 편집자’ 노트를 추가합니다
:bookmark: 자동 응답자 :black_small_square:포스트 편집/생성
:black_small_square:PM 생성
일련의 키워드와 관련 응답을 지정하면, 해당 응답으로 자동으로 응답합니다
주제 자동 태그 :black_small_square:포스트 생성/편집
:black_small_square:PM 생성
주제를 자동으로 태그합니다
주제 닫기 :black_small_square:특정 시점
:black_small_square:정체된 위키
주제를 자동으로 닫습니다
포스트 생성 :black_small_square:주기적
:black_small_square:특정 시점
포스트를 생성합니다
단어로 포스트 플래그 :black_small_square:포스트 편집/생성 특정 단어가 포함된 경우 생성/편집 시 주제를 플래그합니다
선물 교환 :black_small_square:특정 시점 Secret Santa 게임의 간단한 구현
그룹 카테고리 알림 기본값 :black_small_square:카테고리 생성/편집 새로 생성된 하위 카테고리에 대해 그룹 알림 수준을 자동으로 설정합니다
배너 주제로 만들기 :black_small_square:특정 시점 주제를 배너 공지사항으로 변환합니다
주제 고정 :black_small_square:특정 시점 미래에 주제를 고정 및 고정 해제합니다
랜덤 할당
(Assign)
:black_small_square:특정 시점
:black_small_square:주기적
주제를 랜덤으로 할당합니다
데이터 탐색기 결과로 PM 예약
(Data Explorer)
:black_small_square:주기적 데이터 탐색기 쿼리의 결과를 포함하는 정기적인 PM을 보냅니다
채팅 메시지 보내기
(Chat)
:black_small_square:이벤트 시작
:black_small_square:주기적
채널에 채팅 메시지를 보냅니다
PM 보내기 :black_small_square:첫 채택된 해결책 (Solved)
:black_small_square:사용자 배지 부여
:black_small_square:사용자가 그룹에 추가됨
:black_small_square:정체된 위키
:black_small_square:주기적
:black_small_square:사용자 승격
:black_small_square:API 호출
:black_small_square:사용자가 그룹에서 제거됨
플레이스홀더를 지원하는 PM을 보냅니다
이메일로 사용자 정지 :black_small_square:API 호출 지정된 기간 동안 사용자를 정지시킵니다
주제 필수 단어 :black_small_square:주제 주제의 포스트에 지정된 단어 중 적어도 하나가 존재하도록 강제합니다
:bookmark: AI를 사용하여 포스트 분류 (Discourse AI) :black_small_square:포스트 생성/편집 포스트 분류 과정을 자동화하여 포럼 포스트의 관리 및 모더레이션을 향상시킵니다
사용자 전역 공지 :black_small_square:정체된 주제
:black_small_square:첫 채택된 해결책 (Solved)
특정 사용자를 위해 사이트에서 전역 공지를 표시합니다
:bookmark: 배지를 통한 사용자 그룹 멤버십 :black_small_square:주기적
:black_small_square:사용자 첫 로그인
획득한 배지에 기반하여 사용자를 자동으로 그룹에 추가합니다
Zapier 웹훅 :black_small_square:사용자 승격
:black_small_square:사용자가 그룹에 추가됨
:black_small_square:사용자 배지 부여
:black_small_square:사용자가 그룹에서 제거됨
Zapier 웹훅을 호출합니다

사용 가능한 트리거

각 스크립트는 그 특성상 특정 트리거만 지원합니다. 예를 들어, 포스트 내용을 강제하는 스크립트가 사용자가 그룹에 추가될 때 트리거되는 것은 의미가 없습니다.

사용 가능한 모든 트리거는 위의 “사용 가능한 스크립트” 표에 언급되어 있습니다.

대부분의 트리거는 설명이 필요 없지만, 몇 가지에 대해 조금 더 자세히 설명하겠습니다:

트리거 설명
포스트 쿠키 후 포스트가 표시되도록 렌더링된 후 트리거됩니다
API 호출 특정 API 엔드포인트가 호출될 때 트리거됩니다
정체된 위키 위키가 오랫동안 편집되지 않았을 때 트리거됩니다
정체된 주제 특정 시간 동안 주제에 답장이 없었을 때 트리거됩니다
주제 주제에 답장이 작성되었을 때 트리거됩니다

기타 사항에 대해 설명이 필요하면 아래에서 자유롭게 질문해 주세요. :slight_smile:

더 많은 스크립트와 트리거가 곧 추가될 예정입니다!

사용자 정의 자동화

사용자 정의 자동화도 만들 수 있습니다. :partying_face: 자세한 내용은 개발자 가이드를 확인해 보세요 - Create custom Automations


:discourse2: 우리가 호스팅하고 있나요? 이 플러그인은 Business 및 Enterprise 플랜에서 사용할 수 있습니다. Automation | Discourse - Civilized Discussion

77개의 좋아요
Are there any examples "in the wild" of interesting things the Discourse Automation plugin can do?
Creating bot on discourse
An 'add to group' script for the Discourse Automation
Sending a private message automatically to new users?
Trigger an email to all users periodically with a pre-defined message or link
Choose groups and watched categories on signup
Users self-select Category on Registration... is it possible?
Ability to add multiple topic timers
Prevent users from moving topics in other categories
A Bot to match random users?
Can discourse delete archived posts automatically and accept registration without email?
Webhook - TL Demotion
Future pin topics! (feature request)
Can watching a category watch all its subcategories as well?
Restricting users to join any one private group
When a thread is too important to lose
Welcome message
Creating an automated message upon successfully answering to a topic
Unlist or archive a post when it has no reply per category
Trust Level Wishlist Items
Onboarding course?
Discobot Type Message Automation
Trust level freeze
How to change owner of invite links?
Voting plugin requirements
No errors, instance not coming back up after rebuild
How to set a welcome email to be sent as soon as a user signs up?
Automatic Messaging
Linked topics (splitting and managing megatopics)
How to integrate Discourse Gamification with an external system (redeem and award points)
Limiting Subscription Length
Teach Discobot?
Can I send message to who had the special badge automatically?
Convert a category to private and add users to a specific group with access
Is there a component so when a topic is marked as Solved, the topic gets locked and a custom message is posted with it?
Setting up spam detection in your community
Creating a custom Automation
Exclude certain categories from the Trust Levels
Query to create some groups based on activity
Pie-in-the-sky idea: arbitrary automation scripts via docker image
How can I set up invites by members so admins control what invitees see?
Default Tag for specific Categories
How to respond to automatic topics with AI
Pin on certain days
Discourse AI - AI triage
Restrict users to post certain words per category
Plugin or other option to require a post and a like?
Gamification beyond Leaderboard
Is it possible to moderate all personal messages sent between users?
Where would I find documentation on auto-bumping?
Alternative sign up pathways
A Plug-In to convert Discourse Forum Discussions into Clear Proposal Revisions with Community-Sourced Justifications
Bug Report: "Auto Tag Topic" in Discourse Automation — Link Detection Not Working, Onebox Triggers Image
Mandatory Topic Timers for all topics in a category
Can no longer create global banners from restricted categories
How to generate AI replies for forum topics using Persona
Discourse AI - AI triage using Agent
Is there a way to schedule the creation of a topic? And to schedule a reply to someone else's topic?
Is there a way to schedule the creation of a topic? And to schedule a reply to someone else's topic?
Topic ID as a variable?
Automation script: Move topic on close
Can I send an automated welcome message to all new users?
Allow bumping for topics with zero replies
Customizing trust level promotion messages for new users
Auto-categorize topics using AI
Setting up automated admin notice alerts
Discourse AI - Periodic summary reports
New user filter by custom field and contact
Category Exclusion (Blacklist) for Automation Triggers
Tag topics using AI
Advice on a support forum
"Triage posts using AI" script of "Automation" plugin always includes image data in request
"Needs Approval" review items from “Triage posts using AI” script of “Automation” plugin not visible to moderators
Add users to groups on signup
Changing automated Personal Message text
Support formatting of flag "reason" text
AI + Automation Governance: Orchestrating Independent AI Triage Scripts
Publishing a post automatically at a set time
Welcome message
Setting up toxicity detection in your community
Automated tagging when topic is created
Email-in Filtering or Multiple Emails per Category/Group
Unanswered topic notification
Autoresponder (after 15 minutes) when someone joins my discourse
2.8.0.beta3: User-selectable Avatar Flair, Last Topic Visit Indicator, Native File Picker, and more
Add timer to banner topics
Agree to additional terms before joining group
@ mentioning every community members
Reconciling Discourse Chat with other Community Chat Tools like Discord
Send Promotion PMs
Groups for Users
Bulk mark messages and posters as spam
How to automate messages
Automatically move topic category after topic close
Bringing Icebreakers into Discourse
Discourse Chat Integrations
How are `system_messages.welcome_user.*` values used?
Adding tags to topics created with Discourse Embed feature?
Discourse AI - Periodic summary reports
Automatically delete users flagged by system?
How to create autoresponder using automation
Select a group when registering?
Make topic a global banner for n period of time when created in a category
Looking for help posting automating data explorer reports to my forum
Automatically Assigning Titles Based on Trust Level in Discourse
Has anyone experimented with using the usual "Lounge" category with trust level 2
How to schedule posts (not topics)?
Automate post creation on Discourse with multiple users
Customise text for TL3 promotion PM
Choose groups and watched categories on signup
Grant Badge when user visits link
Discourse Subscriptions with Thrive Cart
Can I send message to who had the special badge automatically?
Automatic and periodic PMs for new users
Invitation Links are Only Working for Non-existing Users & Breaking Our Current Implementation
Add members of trust_level_3 to another group and remove them once they lose the trust_level_3
Webhooks plugin
Registration for non-Facebook Users
Membership anniversary
How to add all members in a new group?
New user alerts
An 'add to group' script for the Discourse Automation
Daily Summary Feedback
Watched Words Reference Guide
Can a user block a user group?
Chat Auto-responder?
Endorsement Prompts
What if badges could optionally synchronize group membership?

참고로, 기존 자동화 기능과 그에 해당하는 트리거를 모두 정리한 표를 OP에 업데이트했습니다. :+1:

(또한 '사용자를 그룹에 추가…'에 대한 가이드가 혼자만 있는 것 같아서, 더 많은 가이드를 추가할 계획입니다. :slight_smile:)


Setting up the ‘Append last edited by’ automationSetting up the 'Append last checked by' automation 에 대한 워킹스루가 몇 개 더 추가되었습니다. :tada:

그리고 완전히 새로운 스크립트인 배지를 통한 사용자 그룹 멤버십도 추가되었습니다. :partying_face: 이 스크립트는 방금 막 추가된 것이니, 직접 사용해 보신 후 어떻게 작동하는지 알려주시면 좋겠습니다. :+1:

12개의 좋아요

이제 정말로… 멍청한 건 아니지만, 거의 그런 느낌이에요. 자동화를 어디서 설정할 수 있을까요? 플러그인에서는 자동화를 활성화하거나 비활성화하는 것만 가능해요.

3개의 좋아요

플러그인을 활성화한 후, 여기에 새로운 항목이 표시되어야 합니다:

보이려면 페이지를 새로고침해야 할 수 있습니다.

3개의 좋아요

아니, 그래서 내가 진짜 바보 같아 보이네 :man_facepalming:

감사해.

1개의 좋아요

저도 전에 그 문제로 막혀본 적 있어요 :slight_smile:

이 토픽에 대한 답변은 30일 후 자동 삭제하도록 설정하는 게 좋을 것 같아요. 적어도 이 답변은요.

2개의 좋아요

더 이상 official 플러그인 주제에 대해 그렇게 하지 않습니다. 주제 타이머로 인해 너무 많은 유용한 정보가 사라졌기 때문입니다. 이제 수동으로 관리하며, 중요한 토론은 별도의 태그가 지정된 주제로 분리합니다(그리고 애초에 별도의 주제를 시작하도록 장려합니다). :+1:

18개의 좋아요

게시물이 새 주제로 분리되었습니다: 해결된 주제 자동 닫기 및 템플릿 응답 게시

:information_source: Discourse Automation가 이제 Discourse 코어에 번들로 포함되어 있으므로, 이 플러그인을 별도로 설치할 필요가 없습니다. :partying_face:

:discourse2: 저희가 호스팅을 담당하고 계신가요? 이 변경 사항은 귀하에게 어떠한 영향도 미치지 않습니다. :+1: Business 또는 Enterprise 플랜을 사용 중이시라면, 이 플러그인을 계속 사용하셔도 되며 신경 쓸 필요 없습니다.

6개의 좋아요

카테고리를 변경할 수 있는 자동화 스크립트가 있을까요? 더 유연한 “게시 일정” 시스템을 만들고 싶습니다.

스크립트는 다음과 같이 동작할 것으로 상상하고 있습니다.

  • 주기적으로 실행되고,
  • 특정 카테고리의 주제 중 답글에 특정 마커(예: 해결됨으로 표시됨 또는 "PUBLISH"와 같은 특정 텍스트가 포함된 답글)가 있는지를 확인합니다.
  • 해당 답글의 날짜(또는 “해결됨” 상태)가 주어진 오프셋(예: 어제, 또는 1주 전)보다 이전인 경우,
  • 모든 답글을 삭제하고,
  • 지정된 카테고리로 이동하며,
  • 선택적으로 설정 가능한 태그를 추가합니다.

더 정교한 버전이라면 트리거가 되는 답글에 포함된 날짜/시간을 찾아 현재 시점이 그 날짜/시간 이후인 경우 게시할 수 있을 것입니다.

또한 해당 게시글에서 대상 카테고리를 찾을 수도 있습니다(허용되는 대상 카테고리를 위한 스크립트 설정 포함). 마찬가지로 태그도 마찬가지입니다.

3개의 좋아요

이것은 가능하지만, 현재로서는 이와 유사한 것이 존재하지 않습니다.

1개의 좋아요

안녕하세요, 이 트리거의 사용 사례를 이해하지 못하겠습니다. 개인 메시지를 보낼 수 있는 것 같지만, 누구에게 보내는 건가요? 위키는 여러 사용자가 편집할 수 있기 때문입니다. 감사합니다.

UI에서 개인 메시지(PM)를 받을 사람을 직접 선택할 수 있습니다.

1개의 좋아요

커스텀 스크립트를 만드는 방법이 있을까요?

이 주제는 개인 메시지(PM)에 대해 중재를 요구하는 방법을 찾고 있는 사람에 대한 것입니다.

따라서 다음과 같은 구성이 될 것 같습니다.

  • 트리거: PM 생성
  • 자동 플래깅(심사 대기 처리)

가능할 것 같습니다:

다만 개발 기술이 어느 정도 필요합니다.

4개의 좋아요

정말 멋지네요. 제가 링크한 토픽의 운영자가 해당 기능을 얼마나 필요로 하는지에 따라 스크립트를 후원하게 될 수도 있겠네요.

빠른 답변을 주셔서 감사합니다, Jammy. 늘 풍부한 지식을 공유해 주시네요.

2개의 좋아요

안녕하세요, 이 기능이 어떻게 작동하는지 이해가 안 됩니다. 저는 예(Yes) 또는 아니오(No) 두 가지 값을 선택할 수 있는 드롭다운 형태의 커스텀 사용자 필드가 있습니다. 그런데 자동화를 생성할 때 커스텀 필드의 이름만 입력하라고 하고, 그 값은 입력하지 못하게 되어 있거든요. 커스텀 필드의 값을 테스트할 수 없다면 어떻게 이 사용자가 해당 값일 때만 그룹에 추가되도록 자동화를 트리거해야 할까요? 감사합니다.

1개의 좋아요

사용자 정의 필드의 값은 그룹 이름과 일치해야 합니다. 예를 들어 질문이 "무엇을 더 좋아하나요?"이고 답변이 "dogs"와 "cats"라면, 그룹의 전체 이름은 반드시 "dogs"와 "cats"여야 합니다. "dog lovers"나 "cat lovers"라고 지을 수는 없습니다.

링크된 가이드에 힌트가 있습니다.

하지만 처음에는 저도 이해하지 못했습니다.

1개의 좋아요

아, 이제 이해했어요. 제 사용 사례는 불가능하네요. 그룹 이름이 ‘예’ 또는 '아니요’여야 하니까, ‘예’ 또는 '아니요’로 답할 수 있는 커스텀 필드를 만들 수 없거든요… :roll_eyes:

1개의 좋아요

게시글의 내용이나 제목에 포함된 키워드를 기준으로 "자동 태그"를 붙일 수 있을까요? 현재는 그룹이나 카테고리를 기준으로만 자동 태그를 붙이는 것 같고, 제 경우에는 그다지 유용하지 않습니다.