We need to migrate existing NGOs and their associated bots from Glific to our AI Platform.
Glific will provide a CSV file with the following structure organization_name and bot_name
Each bot_name maps to a project under the organization.
Create a Python script to automate the onboarding process:
For each unique organization, call the /onboard API to create:
- An organization
- Projects for each associated bot
- Add openAI key to each project
- Store the generated API keys for each project
We need to migrate existing NGOs and their associated bots from Glific to our AI Platform.
Glific will provide a CSV file with the following structure organization_name and bot_name
Each bot_name maps to a project under the organization.
Create a Python script to automate the onboarding process:
For each unique organization, call the /onboard API to create: