Skip to main content
January 2, 2024
Question

webapi /integration design for requirement

  • January 2, 2024
  • 17 replies
  • 0 views

I have to send email addresses as input from Appian to external system  and the external system validates those email address and send back the ids of those email address. 

How i can implement the design ,what all are needed ,can someone help?

    17 replies

    January 2, 2024

    Hi,
    I recommend using the integration object. Please refer to the below documentation:
    https://docs.appian.com/suite/help/23.4/Integration_Object.html#

    sabat0002Author
    January 2, 2024

    Hi [mention:7386ca1cfe8d46fa8826c3825bc8828f:e9ed411860ed4f2ba0265705b8793d05] ,  integration object is used to pass the email addresses to external system but how can i save the external system responses  in Appian db (if all email address are correct then external system api passes the employee ids of those email address which needs to be stored back in appian db)

    January 2, 2024

    You can create a process model to invoke your integration by passing the required inputs (email addresses in your case). Retrieve the resulting IDs from the output tab. Upon successful execution of the integration, write the output email IDs to your table.

    https://docs.appian.com/suite/help/23.4/Call_Integration_Smart_Service.html

    harshm4411
    January 3, 2024

    Hi,

    To achieve this,use integration to communicate with an external system. Send your request body (input parameters) to the external system and receive the correct response if all the email addresses are correct. Retrieve the results from the output section and store them in the Appian database using write smart services.


    Here is the reference : 

    Calling Integration :

    sabat0002Author
    January 8, 2024

    Hi [mention:7f7c3545bcbe47119ac428c885b27f95:e9ed411860ed4f2ba0265705b8793d05]  /[mention:7386ca1cfe8d46fa8826c3825bc8828f:e9ed411860ed4f2ba0265705b8793d05]  : from the integration i will get response(output) as many employeeids which needs to be stored in db .

    In the db i need to store all this employeedsid, if i use datatype as int ,max limit is only 255 . how to store the data.

    can you please suggest 

    harshm4411
    January 8, 2024

    Hello,

    You can store employee IDs as text type and later cast it to integer whenever you need to use it.