If you have not used Zapier before, please sign up for an account and connect your Streak account to it. 

By default, all system fields (Name, Stage, Assigned To, Notes) and custom fields will be exported by this process. Magic column data will not be exported. The Exporting magic columns section at the end of this document will go into more detail about that.

Creating your Zap

  1. Create a zap and select Schedule from the Built-In Apps section
  2. Select the cadence you’d like the export to occur at
  3. Create an Action step to your Zap and select Code from the Built-In Apps section
  4. From the two options, select Run Python.

This will present you with a new screen asking for Input Data. This needs to include the following variables (on the left side):

  1. apiKey (more info)
  2. pipelineKey (navigate to the pipeline you intend to export from and take the string beginning with “agxz” from the URL in your address bar)
  3. spreadsheetID (navigate to the Sheet you intend to export to and take the string between /d/ and /edit from the URL in your address bar)

In the section beneath it titled Code, paste the following snippet:

import requests

Streak = requests.Session()

Streak.auth = (input_data['apiKey'],'')

settings = {
   "exportBoxes": True,
   "exportContacts": False,
   "exportOrganizations": False,
   "pipelineKey": input_data.get('pipelineKey',''),
   "spreadsheetId": input_data.get('spreadsheetID','')

export = Streak.post("https://www.streak.com/api/v2/pipelines/" + input_data['pipelineKey'] + "/exportjobs", json=settings)

output = export.json()

This code can be customized very easily. 

Exporting Contacts and Organizations (exportContacts and exportOrganizations) can be switched from False to True if you’re looking to also export them. Just be sure to keep the capitalization or Zapier will be unable to interpret the code.

When you’re done, click Continue and Send Test To Code by Zapier. After completion, your spreadsheet will have a programmatic export from that exact moment. 

Click Finish, give your Zap a name, and turn it On

Exporting magic columns

If you want to export magic columns, you will need to manually and explicitly include all of the columns you want to export in a way our server understands.

This can be more challenging, so if you’re having trouble, please contact us and we’ll be happy to help.

Below, you’ll find an example that includes Name, Stage, Assigned To, and Notes. Underneath “Notes” there is:

  • A custom column (type is “FIELD” and a “fieldKey” is specified) named “Title”
  • A magic column (type is “PROPERTY” and “propertyName” is specified)

The following snippet of code should be inserted between the settings block and the export variable in the previous snippet:

settings["columnsToExport"] = [



    {"headerTranslatedName":"Assigned To","type":"PROPERTY","propertyName":"assignedToSharingEntries"},



    {"headerTranslatedName":"Date of Last Email","type":"PROPERTY","propertyName":"lastEmailUpdatedTimestamp"}

Did this answer your question?