# Automation script Schedule PM with Data Explorer results not sending PMs

**URL:** <https://meta.discourse.org/t/automation-script-schedule-pm-with-data-explorer-results-not-sending-pms/269135>\
**Category:** Bug\
**Tags:** automation\
**Created:** [June 21, 2023, 9:46am UTC](https://meta.discourse.org/t/automation-script-schedule-pm-with-data-explorer-results-not-sending-pms/269135 "2023-06-21T09:46:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Christian\_Parker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/christian_parker/32/311244_2.png) [@Christian\_Parker](https://meta.discourse.org/u/Christian_Parker)\
**Post date:** [June 21, 2023, 9:46am UTC](https://meta.discourse.org/t/automation-script-schedule-pm-with-data-explorer-results-not-sending-pms/269135/1 "2023-06-21T09:46:11Z")

</div>

We use a Discourse hosted instance and make use of the provided Automation plugin with its range of scripts and triggers, however we are having issues receiving PM’s from the ‘Schedule PM with [data explorer](https://meta.discourse.org/t/32566?silent=true) results’ script.  
It looks like the Automation trigger is working and the [Data explorer](https://meta.discourse.org/t/32566?silent=true) query is being run (this query does work and produces results when run manually), however we are not receiving any PM’s following this. I have tried with myself as the recipient and also the ‘Admin’ group but in both cases no PM’s are received.

Not sure if I’m missing something obvious here but any help would be appreciated.

---

_[View the full topic](https://meta.discourse.org/t/automation-script-schedule-pm-with-data-explorer-results-not-sending-pms/269135)._
