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

Rerun all integrations for all submissions? #2260

Closed
adrianjean opened this issue Jan 24, 2025 · 3 comments
Closed

Rerun all integrations for all submissions? #2260

adrianjean opened this issue Jan 24, 2025 · 3 comments
Labels

Comments

@adrianjean
Copy link

Question

Is it possible to rerun all the integrations for all the submissions in a form?
Since I was having a hard time exporting submission data, I thought I could add an integration to get the data out and just rerun all integrations.

I know I can do 100 at a time using the select boxes, but I have 40,000+ submissions.

Additional context

No response

@engram-design
Copy link
Member

This is only possible via a console command.

./craft formie/submissions/run-integration --submission-id=12345 --integration=mailchimp

@adrianjean
Copy link
Author

Is there a way to bulk do this for all of the submissions for a specific form Id?

I saw that CLI command but it looked like I had to run it for every submission separately.

@engram-design
Copy link
Member

Not really, sorry! But it does support multiple IDs. You could spin up a quick submission query in Twig:

{% set submissions = craft.formie.submissions.ids() %}

{{ submissions | join(',') }}

Which should spit you out a list of IDs, that you can pass into the console command.

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

No branches or pull requests

2 participants