-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update GoogleSheets workflow to work with multiple country offices #241
Comments
hey @daissatou2 you have yet to fill in the job links, yeah?
|
|
hey @hunterachieng given that you haven't started work here yet, this will get rolled into the next Feb 24th sprint |
hey @hunterachieng as discussed, let me work on revising the spec with new input links and sync with Aissatou to clarify the formOwner question. In the meantime, moving this to
|
hey @hunterachieng as discussed, this issue is ready to go. Please re-read the spec again now that I've made edits, and pls don't hesitate to ask any questions. |
@aleksa-krolls the PR has been approved and is ready for testing |
Background, context, and business value
WCS hopes to replicate the Aches Kobo/GoogleSheets/Asana setup across multiple sites. This means each site will have its own: Kobo form, Google Sheet and Asana Project.
The specific request, in as few words as possible
Update the existing Kobo to GoogleSheets to Asana workflow currently running on V1.
See updated steps in red in the workflow diagram.
You will need to edit the Sync to GoogleSheets job (currently named
GRM02.b Sync to GoogleSheets Aceh
in v1) as follows:uid
(column B) and destinationGoogle Sheet Link
(column O).Google Sheet Link
is defined, because not all Kobo form uids will have a matching target spreadsheet.Note that you'll need to parse the
sheetId
from the Google Sheet Link (e.g.,https://docs.google.com/spreadsheets/d/1uTQRVKggUsj6wycRhBUU9ywixsOniBbEa0J8e9ruHHI/edit
)uid
in the Input, map the data to the correct GooglesheetId
using this mapping table.For the test cases described below, this means:
Input1
should result in 1 row added to this sheet (the first mapping rule)Input2
should result in 1 row added to this other sheet (the second mapping rule).master
--> Do NOT merge to prod!Workflow/Job
The workflow has 2 steps. (Search the v1 project for
GRM02
to see this.)Step 1
GRM02.a
upsert Aceh Grievance in AsanaStep 2
Input & Testing Guidance
To generate an input for step 2 syncGsheet.js, run the workflow (both steps 1 and 2) using the following inputs:
Once you run these^ through both workflow steps, then you'll find
Input1
should map to GoogleSheet1 (the first mapping rule), whileInput2
should map to GoogleSheet2.Credentials
Step1: Asana
For now use your own Asana Account - you have access to this project
Step2: Googlesheets
For now use your own Google Account - you have access to this master sheet with the mapping rules, as well as target sheet1 and target sheet2.
Toggl
WCS Support
The text was updated successfully, but these errors were encountered: