Hello @Prajakta
Did you try any Dataflow/Transformations?
One solution Which i can suggest is as follows/
Step1: Use an external Application to read the last cell of the Google sheet, I have used the Azure Function, My ADF pipeline will call the Azure Function to get the Last Cell of the Google Sheet, and then it is passed as a parameter to the DataFlow which will start the Data Copy from Google Sheet to Destination.
I have written my Azure Function in C#, if you need the code snippet, I can provide, or you may go with your choice of Web App language stack to fetch the Google sheet Columns last cell.
Step2: In the DataFlow, please make sure to add the Global Param called 'paramEndCell'
Make use of the Param in the Dataflow Source in the End Cell.
$paramEndCell
Go to the Pipeline and add the above Dataflow and add the Parameter from Pipeline Expression, as shown in the below image.
The below response will capture the End Cell Location: such as D4 or D7 or D9, Dynamically
@activity('Azure Function1').output.Response
This is how my Azure function responds with Dynamic cell value:
Your WebHook which uses OAuth REST call to read the GoogleSheet End Cell is also a great idea, which we can use in this scenario!
I hope this is helpful with your initial query!
Please let me know if you have further questions and happy to help!