Run email campaigns from a chat

The scenario understands plain chat messages and gathers the audience, writes emails, launches campaigns, builds reports and re-engages inactive subscribers itself.

  • A campaign launched by a chat phrase
  • Audience and copy chosen automatically
  • Campaign reports with a summary
  • Re-engagement of inactive subscribers
Postgres Chat Memory

How it works

To connect asproCloud and Postgres Chat Memory, you don't need a developer: a ready-made scenario links them in minutes.

  1. Starts when: Chat Trigger
  2. Then: Prepare Chat Context
  3. Then: AI Intent Agent
  4. Then: Parse Intent
  5. Check: Clarification Needed?
  6. If yes: Build Context Prompt 1
  7. Then: Chat1
  8. If no: Intent Switch
  9. If yes: Send Action Switch
  10. If yes: Fetch Groups
  11. Then: Fetch Segments
  12. Then: Resolve Send Audience
  13. Check: Send Audience Found?
  14. If yes: AI Send Copy Agent
  15. Then: Parse Send Copy
  16. Then: Build Send Draft Payload
  17. Then: Create Send Draft
  18. Then: Send Draft Response
  19. Then: Log Task Campaign
  20. Then: Send campaign draft response
  21. If no: Send Audience Missing Reply
  22. Then: Create campaign response
  23. If no: List Draft Campaigns
  24. Check: Draft Campaign Found?
  25. If yes: Build Delivery Payload
  26. Then: Schedule Or Send Draft
  27. Then: Delivery Response
  28. Then: Log Send Mail Task
  29. Then: Respond to send campaign
  30. If no: Draft Missing Reply
  31. Then: Parse Context 1
  32. Then: Context Failed Reply
  33. Then: Respond To Failed Email Task
  34. If no: List Sent Campaigns
  35. Then: Resolve Report Campaign
  36. Check: Report Campaign Found?
  37. If yes: AI Report Summary Agent
  38. Then: Parse Report Summary
  39. Then: Build Report Chart
  40. Then: Report Reply
  41. Then: Log Task
  42. Then: Chat
  43. If no: Report Missing Reply
  44. Then: Report Fail Response
  45. If no: Fetch Reactivation Segments
  46. Then: Resolve Reactivation Segment
  47. Check: Reactivation Segment Found?
  48. If yes: AI Reactivation Copy Agent
  49. Then: Parse Reactivation Copy
  50. Then: Build Reactivation Payload
  51. Then: Create Reactivation Draft
  52. Then: Reactivation Draft Response
  53. Then: Log Reactivate Task
  54. Then: Reactivate Response
  55. If no: Reactivation Segment Missing Reply
  56. Then: Reactivate Fail Response
  57. Then: Intent OpenRouter Chat Model
  58. Then: Creative OpenRouter Chat Model
  59. Then: OpenRouter Chat Model
  60. Then: Postgres Chat Memory
  61. Then: OpenRouter Chat Model1

You can launch this asproCloud + Postgres Chat Memory integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.