<?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 Graph API - Outlook -- Search Emails By Subject ? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Graph-API-Outlook-Search-Emails-By-Subject/m-p/102030#M48858</link>
    <description>Hi,&lt;BR /&gt;&amp;nbsp;I have used BP graph API developer exchange product to read/retrieve a list of all emails. Is there a way that I can filter ? ( I can and am filtering the result).. But is there a way to request a list of messages with specific query criteria ?&lt;BR /&gt;&amp;nbsp;Like give me a list of emails where the subject = " Get XYZ Report now"&amp;nbsp;&lt;BR /&gt;or emails that were received on a specific date = ?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Any pointers/documents links will be helpful&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Sep 2022 16:24:35 GMT</pubDate>
    <dc:creator>spalkar1</dc:creator>
    <dc:date>2022-09-15T16:24:35Z</dc:date>
    <item>
      <title>Graph API - Outlook -- Search Emails By Subject ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Graph-API-Outlook-Search-Emails-By-Subject/m-p/102030#M48858</link>
      <description>Hi,&lt;BR /&gt;&amp;nbsp;I have used BP graph API developer exchange product to read/retrieve a list of all emails. Is there a way that I can filter ? ( I can and am filtering the result).. But is there a way to request a list of messages with specific query criteria ?&lt;BR /&gt;&amp;nbsp;Like give me a list of emails where the subject = " Get XYZ Report now"&amp;nbsp;&lt;BR /&gt;or emails that were received on a specific date = ?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Any pointers/documents links will be helpful&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2022 16:24:35 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Graph-API-Outlook-Search-Emails-By-Subject/m-p/102030#M48858</guid>
      <dc:creator>spalkar1</dc:creator>
      <dc:date>2022-09-15T16:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Graph API - Outlook -- Search Emails By Subject ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Graph-API-Outlook-Search-Emails-By-Subject/m-p/102031#M48859</link>
      <description>Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/45821"&gt;@spalkar1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;The Microsoft Graph API supports the use OData queries within the requests. There is an query parameter/tag you can apply to the URL called &lt;STRONG&gt;$filter&lt;/STRONG&gt;​ that provides a means for entering a search criteria.&lt;BR /&gt;&lt;BR /&gt;See this Microsoft page for further details: &lt;A href="https://docs.microsoft.com/en-us/graph/query-parameters" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/graph/query-parameters&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; You will need to edit the definition of the Outlook connector to be able to leverage this. Here's an example of adding a $filter to the &lt;EM&gt;&lt;STRONG&gt;List Messages&lt;/STRONG&gt;&lt;/EM&gt; action such that it will only return messages received from &lt;STRONG&gt;j.doe@gmail.com&lt;/STRONG&gt;. Notice I added the following extra data to the end of the URL Path:&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;?$filter=from/emailAddress/address eq 'j.doe@gmail.com'​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36912.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36927i8710B1497401A1D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="36912.png" alt="36912.png" /&gt;&lt;/span&gt;&lt;BR /&gt;If you wanted this to be configurable, you could add a new input parameter where you would specify the OData value of the filter.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric</description>
      <pubDate>Thu, 15 Sep 2022 18:21:20 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Graph-API-Outlook-Search-Emails-By-Subject/m-p/102031#M48859</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-09-15T18:21:20Z</dc:date>
    </item>
  </channel>
</rss>

