Create Views Automators
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3505053. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !518
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently you can do a lot of cool stuff with the automators and different contexts like PDF, Excel, Websites, Other fields, RAG etc - however there is a use case for when you want a structured internal list with filters as context for generating for instance summaries of different reports.</p>
<p>Example:<br>
You have a e-commerce site, with reviews on your products and you want to be able to add a summary for the reviews last week for each product. This means a snapshot manually or via cronjob.</p>
<p>The perfect tool for this exists in Views, where you can create either rendered views or entity reference views and seed context.</p>
<p>The idea was initially to have this in the advanced input context, but after some thinking, one of the strength of the automator is a paper trace. This means that if we actually make the views the starting point and the arguments and filters is something that can be filled out by other context, we can fill a snapshot of the views into a text long or string long field and then the next Automator Type takes over.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Create a rule for string long and text long.<br>
Make it possible to dump the Views output into it.<br>
Make it possible for it to take arguments.<br>
Make it possible for it to take filters.<br>
No permissions checking will be done, except that you have Administrate Views as permission to use this Automator.</p>
issue