Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to import all emails and activities? #22

Open
iritg1 opened this issue Nov 1, 2018 · 5 comments
Open

How to import all emails and activities? #22

iritg1 opened this issue Nov 1, 2018 · 5 comments

Comments

@iritg1
Copy link

iritg1 commented Nov 1, 2018

Using PyPardot version 4 to pull emails and activities (click, open, send ect.)
Looking for an example of pulling all emails and their activities.

@mneedham91
Copy link
Owner

Hi @iritg1 there is no API route to get all sent list emails. What I would recommend is to export your sent emails as a csv file, then read that in and query individual emails based on their Id.

@iritg1
Copy link
Author

iritg1 commented Nov 4, 2018

Thank you.
Is there a way to pull the csv file using automated process?

@mneedham91
Copy link
Owner

None that I am aware of, unfortunately.

@iritg1
Copy link
Author

iritg1 commented Jan 2, 2019

Is there any difference between visitor activities when applying the 'email_only' filter to email activities?

@creuzerm
Copy link

We should be able to get all the emails sent by doing a Visitor Activity of type 6 - sent, 1 - click, 2 view. http://developer.pardot.com/kb/object-field-references/#visitor-activity (scroll down a bit for the secret decoder ring)

We have a brand new Visitor Activity Bulk Export method in the API http://developer.pardot.com/kb/api-version-4/export/ which I am working on writing a method for in this library (unless somebody beats me to it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants