Hello all, I'm fairly new to using RudderStack so ...
# support
p
Hello all, I'm fairly new to using RudderStack so forgive me if this is an easy solution. I'm working on a Google Sheets destination for my connections. When setting up the Google Sheets destination it is asking to map the event properties to columns (see in attached photo). I assume the columns are the headers of my columns in my destination sheet. However, I'm not sure what I need to add in the Event Properties fields. This is probably a really easy thing to solve, but the documentation I found doesn't have a lot of detail. https://www.rudderstack.com/docs/destinations/streaming-destinations/google-sheets/#obtaining-the-credentials
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
q
When you send the events to Google sheet you will be sending a set of properties in your payload like this
Copy code
{
  "userId": "identified user id",
  "anonymousId": "anon-id-new",
  "event": "Product Purchased new",
  "properties": {
    "name": "Shirt",
    "revenue": 4.99
  },
  "context": {
    "ip": "14.5.67.21",
    "library": {
      "name": "http"
    }
  },
  "timestamp": "2020-02-02T00:23:09.544Z"
}
Let’s say you have a set of column names defined in your sheet like col1, col2 etc. and you want to map specific properties from payload to these specific columns like userId to col1, event to col2 etc. In this case you can create this mapping and use userId, event etc as event property