Dropbox Samples via REST API
Contributed by @dshen This pattern contains 3 separate segments that demonstrate how to use the REST API to: list folder contents download a file from Dropbox upload a file to Dropbox Source: Dropbox Files Target: Dropbox Files Snaps used: JSON Generator, REST Post, JSON Splitter, Mapper, Document to Binary, CSV Parser Configuration Supply a Dropbox Bearer Token in the pipeline parameters. To list the contents of a folder, supply the Dropbox file path and other parameters in the JSON Generator so it can be passed to Dropbox as the request payload. For uploading a file to Dropbox, this pipeline assumes the file was uploaded to SnapLogic. Reference Dropbox API v2 for HTTP Developers Downloads Dropbox Samples.slp (14.4 KB)4.3KViews0likes0CommentsAdd lead in Marketo and record in Dropbox
Created by @mthammareddy This pattern creates a lead in Marketo, then SnapLogic adds the lead into Dropbox as a new file. Configuration You will need to define the following pipeline parameters: authorization, in the form of Bearer xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xx endpoint, in the form of https://xxx-xxx-xxx.mktorest.com Then you need to pass the user details with the parameters first, last, email, title, company, and country. Sources: Mapper Targets: Marketo Lead, Dropbox Snaps used: REST Post, Mapper, Worksheet Writer, JSON Generator, Copy, JSON Splitter, Sequence, Join Downloads Marketo_Lead_Created_Record_Dropbox.slp (19.9 KB)1.9KViews0likes0Comments