<?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 Using Custom Connecters in Activities in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-Custom-Connecters-in-Activities/m-p/883087#M1924</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to SAS Customer Intelligence 360. I've been trying to understand how to use variables when using the custom connectors when setting up an Activity flow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have setup a connector with 2 endpoints for a Rest API that uses bearer tokens. The first endpoint is to generate the token after I have supplied the cliend_id and secret.&amp;nbsp; This will return a stand JWT auth token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now have to use that token in the second endpoint of the connector to pass the bearer token and therefore be able to call the api securely. What I fail to see is how to map the result of the first task in the activity to the second task in the activity where I have a varible called {{$&amp;lt;Token&amp;gt;}} in the token value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following that, I also fail how to send the data from the inital task and map each field to the parameters of the send API. So in the body of the API I have set the body to be like { "title":"{{$&amp;lt;title&amp;gt;}}" } .&amp;nbsp; I need to be able to say Title from the segment or inital task belongs to the variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On top of this, the send api would take both the token api results as well as the results from the inital task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am definately missing something here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope there is a easy way to do this, thanks in advance for any tips and tricks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2023 13:06:38 GMT</pubDate>
    <dc:creator>GeeWillikas</dc:creator>
    <dc:date>2023-06-30T13:06:38Z</dc:date>
    <item>
      <title>Using Custom Connecters in Activities</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-Custom-Connecters-in-Activities/m-p/883087#M1924</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to SAS Customer Intelligence 360. I've been trying to understand how to use variables when using the custom connectors when setting up an Activity flow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have setup a connector with 2 endpoints for a Rest API that uses bearer tokens. The first endpoint is to generate the token after I have supplied the cliend_id and secret.&amp;nbsp; This will return a stand JWT auth token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now have to use that token in the second endpoint of the connector to pass the bearer token and therefore be able to call the api securely. What I fail to see is how to map the result of the first task in the activity to the second task in the activity where I have a varible called {{$&amp;lt;Token&amp;gt;}} in the token value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following that, I also fail how to send the data from the inital task and map each field to the parameters of the send API. So in the body of the API I have set the body to be like { "title":"{{$&amp;lt;title&amp;gt;}}" } .&amp;nbsp; I need to be able to say Title from the segment or inital task belongs to the variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On top of this, the send api would take both the token api results as well as the results from the inital task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am definately missing something here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope there is a easy way to do this, thanks in advance for any tips and tricks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 13:06:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-Custom-Connecters-in-Activities/m-p/883087#M1924</guid>
      <dc:creator>GeeWillikas</dc:creator>
      <dc:date>2023-06-30T13:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Custom Connecters in Activities</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-Custom-Connecters-in-Activities/m-p/883267#M1925</link>
      <description>&lt;P&gt;Hi, I fear you are pushing the boundaries of what's &lt;EM&gt;easily&lt;/EM&gt; possible with connectors, external system tasks and events. Do you have a local Customer Success Manager you are working with? they may be able to provide some more detailed guidance if you are able to walk them through the use case.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2023 23:41:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-Custom-Connecters-in-Activities/m-p/883267#M1925</guid>
      <dc:creator>t_charlesworth</dc:creator>
      <dc:date>2023-07-02T23:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Custom Connecters in Activities</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-Custom-Connecters-in-Activities/m-p/883283#M1926</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The current CI360 Connector and External System Task (EST) architecture is not designed to pass (or chain) the responses to the next EST, especially not authentication information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case, I believe building a custom third connector endpoint will be more suitable. In this new API, you will call and obtain the authentication token, and then make the call to the actual API.&lt;/P&gt;
&lt;P&gt;In your EST, you will configure the new third endpoint. For the security of this new endpoint, you can consider a long-lived JWT or any other authentication method supported by CI360.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Link for supported authentication: &lt;A href="https://go.documentation.sas.com/doc/en/cintcdc/production.a/cintag/endpoint-details.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/cintcdc/production.a/cintag/endpoint-details.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 04:26:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-Custom-Connecters-in-Activities/m-p/883283#M1926</guid>
      <dc:creator>shed_hues</dc:creator>
      <dc:date>2023-07-03T04:26:35Z</dc:date>
    </item>
  </channel>
</rss>

