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

[Approval] Add approval email's link to Team sheet in Timesheets #26

Open
2 tasks
andiechu opened this issue May 1, 2019 · 6 comments
Open
2 tasks
Assignees

Comments

@andiechu
Copy link
Contributor

andiechu commented May 1, 2019

problem

We are manually approving freelancers to work on client projects. It's not scalable.

solution

automate the manual process (see comment)

requirements

  • take a screenshot of approval email and save it to the freelancer's personal plan folder
  • add the approval email's link to the Timesheet
@andiechu andiechu added the enhancement New feature or request label May 1, 2019
@andiechu andiechu self-assigned this May 1, 2019
@andiechu andiechu changed the title Automation: Add approval email's link to Team sheet in Timesheets [Approval] Add approval email's link to Team sheet in Timesheets May 8, 2019
@andiechu andiechu assigned Moomoo14 and unassigned andiechu May 9, 2019
@ancagabriela
Copy link
Contributor

ancagabriela commented May 11, 2019

For adding approval email to the [Team] sheet in the project timesheet we need to have a user (an email) that receives all the emails related to approval rates. That will mean we receive all the emails in one place so we can search in the inbox.
So far [email protected] and [email protected] are just groups forwarding the emails to other user emails.

Steps to do:

  • create a user that receives all Coderbunker approval emails
  • search for emails that contain " APPROVAL NEEDED: {company name} Rates Approval for Coderbunker's freelancers" in the subject line.
  • detect that the email contains a reply with the "approved" word on the body of the email
  • in the {client} Freelancers Approvals folder, save the body of the email as a pdf
  • for each freelancer name in the "to" field, take the link of the folder and add it to the {client} timesheet [Team sheet] on the approval column
  • add Validity date based on the date the freelancer was approved on the project

notes

@Moomoo14 Moomoo14 pinned this issue May 12, 2019
@Moomoo14 Moomoo14 unpinned this issue May 12, 2019
@Moomoo14
Copy link

Moomoo14 commented May 15, 2019

using the client name in the Subject of the email require to pull the name of the client from a location as they are different for each client.
To this, a file should have or will have to store the clients name in waiting list for approval, when the approval request is sent.

"is there a file or location i can pull the client name ?" @andiechu @ancagabriela

@ancagabriela
Copy link
Contributor

@andiechu andiechu removed the enhancement New feature or request label May 22, 2019
@Moomoo14
Copy link

Moomoo14 commented May 31, 2019

" take a screenshot of approval email and save it to the freelancer's personal plan folder" -- it will be very complicated to push the approval to every team member folder.
Isn't there a better solution to store the data and link the concerned people to it? -- @andiechu
Recommendation:
-- It is easier to just push the document containing the approval email to the client folder and paste that link to the timesheet

@rngadam
Copy link
Member

rngadam commented Jun 5, 2019

A more reliable way to do this would be to set a replyTo in the source email with an additional identifier postfix to the user name:

[email protected]

(this is https://en.wikipedia.org/wiki/Email_address#Subaddressing)

and extracting the approval related to that id.

relying on such user inputs in both the email subject and the body is going to be unreliable.

the information of what is getting approved is then kept on our side.

@rngadam
Copy link
Member

rngadam commented Jun 5, 2019

other alternative solution and perhaps more straightforward is just to move directly to a GAS-hosted web interface (you can create it, host it as HTML in a GAS project and interact with your own API on the server) where a rendered image / PDF of the proposal is provided.

because the client needs to be authenticated with a valid google account, this counts as electronic signature.

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

4 participants