Trigger Sync Gateway when new Document is Created/Updated

Hi All,

I am pretty new at Sync Gateway and Couchbase so Please pardon me if this question seems silly.

My Application has a Server (NodeJS) and an Android App. The Android App makes a call to the server to register the user.

The API fires the query to create a new Document and inserts to DB.

Is there a way for the Server to Attach the Document to a Channel once the Document is inserted to Couchbase or should this be handled my the Android App or is Bucket Shadowing the only way ?

Thanks in Advance.