📤Exporting your Cycle data
Cycle lets you get your data out of the system easily. Whether you need it for data analysis or any other purpose, we provide you with simple export CTA that will present your data in a CSV format.
You can export all the major objects and assets from Cycle:
For any export, you'll receive an email with a link to a downloadable CSV file.
Export the Docs - Feedback, Quotes or Request
You can export from any View (Lists, Tables, Boards).
How to:
Open a view that lists your items.
Click ••• → Export in CSV.
Choose your format and confirm.
Tip: If you create a view (Feedback, Quotes or Requests) without any filters, the export will include all your data of that object. 🎯
If you need to script the export, use the following mutation:
exportDocs(boardId: ID!): Boolean
The columns in your CSV file:
Columns may vary depending on your properties and the type of docs you're exporting (i.e: Feedback, Quotes, Requests) but here are the common ones and their meaning.
uuid
uuid of the doc as referenced in the database
id
key of the doc
type
name of the doc type
title
title of the doc
content
content in html
assigneeName
name of the member assigned to the doc (for Feedback and Quote, this is the reporter)
assignee
email of the member assigned to the doc (for Feedback and Quote, this is the reporter)
aiState
Wether it was created by AI, verified or created by human (not present for Feedback)
status
status name value
source
url from where the doc was created
sourceType
type of source
creator
email of the user who created the doc
createdAt
creation date of the doc (ISO 8601 format)
Export the Customers - People & Companies
How to:
Navigate to your Customer view or your Customer settings
Click on the export icon on the top right of the screen
Confirm and wait for the email
If you need to script the export, use the following mutation:
exportCustomers(productId: ID!, withFeedback: Boolean): Boolean
The columns in your CSV file:
id
uuid of the customer as referenced in the database
createdAt
standard date format
email of the customer
name
name of the customer
nbFeedbacks
number of Feedback linked
nbQuotes
number of Quotes linked
companyId
uuid of the company associated
company
company name
companyCustomId
custom uuid used in an external CRM
attioId, hubspotId, intercomId, salesforceId, zendeskId, pipedriveId, snowflakeId
uuid in external CRM
arr
arr amount of the company
leadStatus
status of the lead
closeDate
date of the lead closing
industry
company industry
country
company country
numberOfEmployees
number of employees in the company
Export the Release notes
How to:
Navigate to your releases section
Click on the ••• → Export in CSV
Confirm and wait for the email
If you need to script the export, use the following mutation:
exportReleaseNotes(productId: ID!): Boolean
The columns in your CSV file:
id
uuid of the release note as referenced in the database
createdAt
standard date format of the creation date
releaseNoteTitle
title of the release note
releaseNoteContent
release note content in html
isPublished
whether or not this release note is part of the public changelog
releaseId
uuid of the corresponding release
releaseDate
date of the release
releaseTitle
title of the release
docId
uuid of the associated Request
docTitle
title of the associated Request
makers
list of makers
tags
list of tags
position
position of the release note
isOther
whether or not the release note is part of the bugs and improvements section
updatedAt
standard date format of the last update date
Export the Members
How to:
Navigate to your User settings (make sure you have a Maker role)
Click on the export icon on the top right of the screen
Wait for the email
If you need to script the export, use the following mutation:
exportMembers(productId: ID!): Boolean
The columns of your CSV file:
id
uuid of the user as referenced in the database
createdAt
creation date in ISO 8601 format
email of the member
firstName
first name
lastName
last name
jobTitle
job title as referenced during the onboarding
role
whether this user was a USER, COLLABORATOR or MAKER
onboarded
whether this user completed his onboarding
userJourney
stage of the onboarding
Export the Assets - Video, Images or any other file
Exporting the assets is a bit trickier than the rest of the objects as you'll need to download each file locally. Worry not, we've prepared a command line to download the assets you'll get from the CSV file.
How to:
Open the workspace dropdown
Click on the Export assets CTA
Wait for the email
If you need to script the export, use the following mutation:
exportAssets(productId: ID!): Boolean
You now have a list of the distant files hosted on Cycle's infrastructure. To download them locally, you'll need to generate an authentication cookie and curl them. See below:
Login to Cycle and create a Cycle API token from the API settings in Cycle
Use this token to generate a cookie that will give you access to the assets with the following mutation (replace
yourToken
with your actual Cycle token)
curl 'https://api.product.cycle.app/graphql' -H 'Authorization: Bearer yourToken' -H 'Content-Type: application/json' -d '{"query":"mutation { assetAccess }"}'
It should return something like "cld_token=exp=..."
Set up your cookie as an environment variable with
COOKIE=cld_token=exp=...
Navigate to the folder where you saved your CSV file
Start downloading your files with the following command (replace
your_csv_file.csv
with your actual file name)awk -F, 'NR>1 {print $2}' your_csv_file.csv | tr -d '"' | xargs -n1 -P4 -I{} curl --progress-bar -L --retry 3 --retry-delay 5 --continue-at - -b "$COOKIE" -O {}
It usually takes 2 minutes to download 5Gb depending on you internet connexion.
The columns of your CSV file:
id
the public id of the asset
url
the url to reach your asset
type
type of asset. Can be video
image
or raw
tags
uuid of the product and/or the doc where this asset is used
bytes
size in bytes
height
height of the asset in px
width
width of the asset in px
hasAudio
whether or not this asset has audio
FAQ
Last updated
Was this helpful?