Skip to content

Send call recordings to Graph #230

Description

@tomastiminskas

Requirements

  • When a call is started in a tribe that has a SecondBrain url set, we want to start recording call automatically on call launch and send call recorded file to Graph automatically

Context

  • Recording call files are uploaded to S3 bucket where we can set up a lamba to send files to workflow from there.
  • S3 receives a file where the name is the room id of the call
  • Right now standard calls have the following format: https://chat.sphinx.chat/rooms/sphinx.call.765295315.760382 where sphinx.call.765295315.760382 is the room id. So the file uploaded to S3 will be sphinx.call.765295315.760382.mp3
  • On a call with G we discuss about including some reference to the workflow on the room id, so the lamba in S3 will search for workflow reference in the room id and if present it will send it to it

Open Questions

  • Ideally we should include the workflow_id in the room id of the call when starting it from the app having a url like this: https://chat.sphinx.chat/rooms/sphinx.call.w.1234.765295315.760382 where 1234 will be the wokflow id. This way S3 lamba will just checked the number after w. if present in the file name and send it to the workflow with that id
  • The app needs a way to get the workflow_id of a graph based on its url. For example on repo2Graph tribe, the SB url is nav.swarm38.sphinx.chat. @tomsmith8 do you have an endpoint or can we create one to get a workflow_id from that url?

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions