<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: create a list of invoices per customer in Community Chat</title>
    <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6529#M184</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/10244"&gt;@Nesh&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the SQL Collection here to consolidate the all the&amp;nbsp;&lt;SPAN&gt;outstanding invoices for each customer.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step 1 : Create a collection for the whole list.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 2: Get Distinct customer details (Using SQL Query)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 3 : Keep for each for all the customers.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 4 : Get all the Out Standing bills for each customer (Using SQL Query)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 5 : Create Message Template and send mail to each customer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sample Recipe Link :&amp;nbsp;&lt;A href="https://app.workato.com/recipes/46858994/edit" target="_blank"&gt;https://app.workato.com/recipes/46858994/edit&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 11:21:20 GMT</pubDate>
    <dc:creator>girish-naralla</dc:creator>
    <dc:date>2024-04-24T11:21:20Z</dc:date>
    <item>
      <title>create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6476#M174</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a recipe in which I am pulling a list of customers with outstanding invoices. I am able to pull a list of all customers using Lists by workato. I want to create a table/list of invoices for customers who have more than one outstanding invoice and send one email reminder listing all of their invoices in one email instead of sending multiple emails with each invoice details. How do I accomplish this? Any guidance is appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 17:22:30 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6476#M174</guid>
      <dc:creator>Nesh</dc:creator>
      <dc:date>2024-04-22T17:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6478#M175</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/10244"&gt;@Nesh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Are you trying to send multiple invoices in a single email? Are those invoices are the attachments? If you provide these details I can suggest some ideas accordingly.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 17:57:35 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6478#M175</guid>
      <dc:creator>Prajwal</dc:creator>
      <dc:date>2024-04-22T17:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6480#M176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/8974"&gt;@Prajwal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some customers with multiple outstanding invoices so I want to send then a list of all their invoices in one single email. I am trying to avoid file attachments. Perhaps a table with three columns (Invoice # , Invoice date and invoice amount) listing all invoices? I would also like to add, I do have some customers who will only have one invoice.&amp;nbsp;&amp;nbsp;Thank you for your assistance!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 21:39:24 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6480#M176</guid>
      <dc:creator>Nesh</dc:creator>
      <dc:date>2024-04-22T21:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6483#M177</link>
      <description>&lt;P&gt;Gotcha! We do have a way to insert these details into an email in the form of a table.&amp;nbsp;&lt;BR /&gt;This is the common way to do this-&lt;BR /&gt;1. Prepare a message template that accepts the list of inputs from your recipe.&lt;BR /&gt;2. Use the message template to add all the invoice details to your table(use the list mapping to your message template) and then map the document output to your email body.&lt;/P&gt;&lt;P&gt;Results:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-23 090222.png" style="width: 308px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1150i83C9E16F85FCE22E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-23 090222.png" alt="Screenshot 2024-04-23 090222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Use this message template schema;&lt;BR /&gt;Message Template Schema -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;body&amp;gt;

&amp;lt;table border="1"&amp;gt;
  &amp;lt;tr&amp;gt;
    &amp;lt;th&amp;gt;{{invoice_header}}&amp;lt;/th&amp;gt;
    &amp;lt;th&amp;gt;{{invoice_date_header}}&amp;lt;/th&amp;gt;
    &amp;lt;th&amp;gt;{{invoice_amount_header}}&amp;lt;/th&amp;gt;
  &amp;lt;/tr&amp;gt;
    {{#list}}
      &amp;lt;tr&amp;gt;
        &amp;lt;td&amp;gt;{{invoice}}&amp;lt;/td&amp;gt;
        &amp;lt;td&amp;gt;{{invoice_date}}&amp;lt;/td&amp;gt;
        &amp;lt;td&amp;gt;{{invoice_amount}}&amp;lt;/td&amp;gt;
        &amp;lt;!-- Add more columns as needed --&amp;gt;
      &amp;lt;/tr&amp;gt;
    {{/list}}

&amp;lt;/table&amp;gt;

&amp;lt;/body&amp;gt;
&lt;/LI-CODE&gt;&lt;P&gt;Message template input schema-&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {
    "name": "invoice_header",
    "type": "string",
    "optional": false,
    "control_type": "text",
    "label": "Header 1"
  },
  {
    "name": "invoice_date_header",
    "type": "string",
    "optional": false,
    "control_type": "text",
    "label": "Header 2"
  },
  {
    "name": "invoice_amount_header",
    "type": "string",
    "optional": false,
    "control_type": "text",
    "label": "Invoice amount header"
  },
  {
    "name": "list",
    "type": "array",
    "optional": false,
    "properties": [
      {
        "name": "invoice",
        "type": "string",
        "optional": false,
        "control_type": "text",
        "label": "Invoice"
      },
      {
        "name": "invoice_date",
        "type": "string",
        "optional": false,
        "control_type": "text",
        "label": "Invoice date"
      },
      {
        "name": "invoice_amount",
        "type": "string",
        "optional": false,
        "control_type": "text",
        "label": "Invoice amount"
      }
    ],
    "of": "object",
    "label": "List"
  }
]&lt;/LI-CODE&gt;&lt;P&gt;Email configuration-&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-23 090740.png" style="width: 724px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1151iB859EF610001AA21/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-23 090740.png" alt="Screenshot 2024-04-23 090740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;These configurations should solve your puzzle&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 03:41:10 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6483#M177</guid>
      <dc:creator>Prajwal</dc:creator>
      <dc:date>2024-04-23T03:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6512#M180</link>
      <description>&lt;P&gt;It is a good idea to create a message template. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 21:48:29 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6512#M180</guid>
      <dc:creator>Nesh</dc:creator>
      <dc:date>2024-04-23T21:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6513#M181</link>
      <description>&lt;P&gt;I guess my other problem is not being able to modify the recipe to retrieve a list of invoices for each customer. I am able to accumulate a list of ALL customers who have outstanding invoices, but I can not figure out how to accumulate a list for each customer on that overall list. Do you have any suggestions on how to achieve this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 21:54:20 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6513#M181</guid>
      <dc:creator>Nesh</dc:creator>
      <dc:date>2024-04-23T21:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6515#M182</link>
      <description>&lt;P&gt;You mean, you are not able to point out the invoices to the respective customers?. Is my understanding is correct? Provide me with more details that what you are trying to accomplish here. If you can able to mention what is the source you are using to fetch the customer or if you provide the sample output schema of the source application that you have the invoice and customer details I can figure out a way to achieve this.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 04:14:09 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6515#M182</guid>
      <dc:creator>Prajwal</dc:creator>
      <dc:date>2024-04-24T04:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: create a list of invoices per customer</title>
      <link>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6529#M184</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/10244"&gt;@Nesh&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the SQL Collection here to consolidate the all the&amp;nbsp;&lt;SPAN&gt;outstanding invoices for each customer.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step 1 : Create a collection for the whole list.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 2: Get Distinct customer details (Using SQL Query)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 3 : Keep for each for all the customers.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 4 : Get all the Out Standing bills for each customer (Using SQL Query)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Step 5 : Create Message Template and send mail to each customer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sample Recipe Link :&amp;nbsp;&lt;A href="https://app.workato.com/recipes/46858994/edit" target="_blank"&gt;https://app.workato.com/recipes/46858994/edit&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 11:21:20 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/community-chat/create-a-list-of-invoices-per-customer/m-p/6529#M184</guid>
      <dc:creator>girish-naralla</dc:creator>
      <dc:date>2024-04-24T11:21:20Z</dc:date>
    </item>
  </channel>
</rss>

