Sample for SFTP

Jeromy
Expensify Customer Posts: 9 Expensify Newcomer
Can you provide a sample when using the OnFinish, to included SFTP server? Correct syntax using JSON object. I have attempted the following:
"onFinish":[
{"actionName":"markAsExported","label":"Expensify Export"},
{"actionName":"email","recipients":"manager@domain.com,[email protected]", "message":"Report is ready."},
{"actionName":"sftpUpload","sftpData":"host":"somehost","login":"somelogin","password":"somepassword","port":"someport"}
]
Best Answer
-
I was able to figure this out: {"actionName":"sftpUpload","sftpData": {"host":"somehost","login":"somelogin","password":"somepassword","port":"someport"}}