Insert Items into Dropbox

The connector's Insert action inserts files into Dropbox. To use the insert action, you must construct some XML that specifies where to add each item, and the information to insert. This XML is used as the value of the insertXML action parameter.

The insertXML provided to the Dropbox Connector must include the following properties:

PATH The desired destination path of the file in Dropbox, relative to the top-level accessible folder.

If you are inserting documents into Dropbox for Business, you must also set one of the following properties:

TEAM_MEMBER_ID (Dropbox for Business only) The team member ID of the account to insert the document into.
EMAIL (Dropbox for Business only) The e-mail address of the account to insert the document into.

For example:

<insertXML> 
  <insert> 
    <property name="PATH" value="/folder/file.txt"/>
    <property name="TEAM_MEMBER_ID" value="12345ABCD"/>
    <file> 
      <type>content</type> 
      <content>SGVsbG8gV29ybGQNCg==</content> 
    </file> 
  </insert> 
</insertXML>

The <file> element contains the file to insert into the Dropbox repository. You can supply the path to a file, base-64 encoded content, or choose to send the file to the connector's data port. For more information, see the documentation for the Insert action.