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

Contacts Export in Chaskiq #605

Open
yogendrahere opened this issue Jan 24, 2022 · 4 comments
Open

Contacts Export in Chaskiq #605

yogendrahere opened this issue Jan 24, 2022 · 4 comments

Comments

@yogendrahere
Copy link

Is your feature request related to a problem? Please describe.
unable to export contacts in csv

Describe the solution you'd like
feature to export

Describe alternatives you've considered
unable to find

Additional context
there is option to import contacts from csv but not for export

@michelson
Copy link
Member

Right now, there are no contact exports. But it could be done.

@Nuxor3000
Copy link
Contributor

I will try to work on that one, I'm interested too.

@michelson
Copy link
Member

Hi @Nuxor3000, I will be immensely grateful if you step up with a PR on this.
I would suggest to add a new mutation on app/graphql/mutations/app_users or in app/graphql/mutations/apps.
Then in the mutation itself, add a call to a method that exports to CSV. and send the data to the agent's email who request the information.
It would be good to execute that method in a worker and reply a success message to the user in the mutation as soon as the job is enqueued.

Let me know your thoughts on this. Thanks!

@yogendrahere
Copy link
Author

yogendrahere commented Feb 5, 2022

for now can you please pointout how can I access all mobile numbers (mobile numbers from 360dialog integration) in database manually
thanks

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

No branches or pull requests

3 participants