Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
37 replies
Subscribers
5 subscribers
Views
36418 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
integration of Appian workflow with DocuSign
rishub
over 7 years ago
Hi All,
We want to integrate Appian workflow with Docu Sign. Is there any plugin exists for that? Our Use case is that we want to email the document to client for sign & they can just sign digitally in email & it can send us signed document back to the workflow & workflow will continue after that.
OriginalPostID-243579
Discussion posts and replies are publicly visible
Parents
0
ankitab918
over 7 years ago
HI I have the same requirement. I am getting the 400 error. Can you please point out if I am missing here something. Please find my code below:
load(
local!authHeader:"X-DocuSign-Authentication",
local!credentials:{"Username":"<useremail>","Password":"<userPassword>","IntegratorKey":"<IntegratorKeyGenerated>"},
local!signers:{"email":"recepientMail","name":"<recepientName>","recipientId":1,"routingOrder":1},
local!documents:{"documentId":419616 ,"name":"Affinity Physician Statement Form","documentBase64":convertdocumenttobase64(419616)},
local!emailDetails:{"emailSubject":"TestEmail","emailBlurb":"ShowsHowTocreateEnvlope","recipients":{"signers":local!signers},"documents":local!documents,"status":"sent"},
local!login:a!httpQuery(
url:"
demo.docusign.net/.../login_information",
headers:{
a!httpHeader(local!authHeader, a!toJson(local!credentials))
}
).result.body,
local!baseUrl:a!fromJson(local!login).loginAccounts.baseUrl,
local!envelopeRequest:bind(
get:
a!httpQuery(
url:local!baseUrl&"/envelopes",
headers:{
a!httpHeader("Accept","application/json"),
a!httpHeader("Content-Type","application/json"),
a!httpHeader(local!authHeader, a!toJson(local!credentials))
/*a!httpHeader(local!authHeader,a!toJson(local!emailDetails))*/
}
),
set:
a!httpWrite(
url:_,
method:"POST",
headers:{
a!httpHeader("Accept","application/json"),
a!httpHeader("Content-Type","application/json"),
a!httpHeader(local!authHeader, a!toJson(local!credentials))
/*a!httpHeader(local!authHeader,a!toJson(local!emailDetails))*/
},
body:{a!toJson(local!emailDetails)}
)
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ankitab918
over 7 years ago
HI I have the same requirement. I am getting the 400 error. Can you please point out if I am missing here something. Please find my code below:
load(
local!authHeader:"X-DocuSign-Authentication",
local!credentials:{"Username":"<useremail>","Password":"<userPassword>","IntegratorKey":"<IntegratorKeyGenerated>"},
local!signers:{"email":"recepientMail","name":"<recepientName>","recipientId":1,"routingOrder":1},
local!documents:{"documentId":419616 ,"name":"Affinity Physician Statement Form","documentBase64":convertdocumenttobase64(419616)},
local!emailDetails:{"emailSubject":"TestEmail","emailBlurb":"ShowsHowTocreateEnvlope","recipients":{"signers":local!signers},"documents":local!documents,"status":"sent"},
local!login:a!httpQuery(
url:"
demo.docusign.net/.../login_information",
headers:{
a!httpHeader(local!authHeader, a!toJson(local!credentials))
}
).result.body,
local!baseUrl:a!fromJson(local!login).loginAccounts.baseUrl,
local!envelopeRequest:bind(
get:
a!httpQuery(
url:local!baseUrl&"/envelopes",
headers:{
a!httpHeader("Accept","application/json"),
a!httpHeader("Content-Type","application/json"),
a!httpHeader(local!authHeader, a!toJson(local!credentials))
/*a!httpHeader(local!authHeader,a!toJson(local!emailDetails))*/
}
),
set:
a!httpWrite(
url:_,
method:"POST",
headers:{
a!httpHeader("Accept","application/json"),
a!httpHeader("Content-Type","application/json"),
a!httpHeader(local!authHeader, a!toJson(local!credentials))
/*a!httpHeader(local!authHeader,a!toJson(local!emailDetails))*/
},
body:{a!toJson(local!emailDetails)}
)
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data