Discourse Workflows

I’ve been trying to get something going for hours using the workflows. I can’t seem to get the AI to work without it throwing an error. I may change the AI model and then try again.

What I am trying to accomplish is something like this: (and very relevant to the recent discussion!)

  1. Scheduler runs once per day.
  2. Look for posts that haven’t had any replies for 30-365 days. (Data explorer)
  3. Summarize topics if they aren’t summarized already + store in data table.
  4. Give summary + last post to AI, ask the AI if there was an unresolved issue or something that needs a follow up.
  5. Store the AI’s opinion, if it needs a follow up post or not. (Data table)
  6. Grab from AI processed posts and choose one to reply to.
  7. Reply to with a bot asking for a follow up, update or asking if the issue was resolved.

Basically just trying to make a workflow that tries to get some random re-engagement on posts that are stale, but may need a follow up posted.

Anyone have any ideas? I could get the posts using data explorer and could get a summary from the AI. I couldn’t get data tables working and didn’t make it to the auto post stage. But I got somewhat close.

My thought was splitting in into several workflows:

  • One workflow grabs the older posts and writes the summary. (stores in data table)
  • Another workflow reviews the summary and last post to see if a follow up should be posted. (stores in data table)
  • Another workflow looks at datatable and selects post that should get a post, determine what type of reply it should get and post the reply with a bot account.

Not sure if I have this figured out with how to use it, but this plugin has a lot of potential!

EDIT: I got this working and posted it on this topic: