<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Send JSON payload to external service from Appian.</title><link>https://community.appian.com/discussions/f/integrations/27826/send-json-payload-to-external-service-from-appian</link><description>Hello! 
 I would like to send JSON payload to external API after the user completes ADD NEW CLIENT form created in Appian. 
 
 
 
 
 So the information provided in this form would be sent externally. I created connected system HTTP and POST integration</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Send JSON payload to external service from Appian.</title><link>https://community.appian.com/thread/108273?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2023 17:23:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a0156450-3dfa-48e4-ae4d-dde151421d5f</guid><dc:creator>Krystian Limiera</dc:creator><description>&lt;p&gt;Thank you!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send JSON payload to external service from Appian.</title><link>https://community.appian.com/thread/108255?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2023 12:30:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06bbce5f-016e-4b38-bc39-4420170ba585</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Yes. You are absolutely on the right path. Now some changed you will have to make is to accept this JSON dynamically. For that, you need to create a dictionary from the data that you just wrote in the DB using 3rd node in your Process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For this, you can add a new script task between the write records and call integration. This script task will accept the record type variable and create a required dictionary for you. Now just wrap the dictionary in a!toJson() and that would give you a JSON that you pass in the integration.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NOTE - Use the TEXT type variable to pass the JSON from Script task to PV and then PV to call&amp;nbsp;integration.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>