Adding IFTTT webhook key to docker

I figured it out. For anyone else who is interested in the final solution:

  1. Edit the settings.js file in your main nodered directory
  2. on the first line, process.env.IFTTTKey = "insert key here" (the quotes are very important!)
  3. In your flow, choose inject (to start the flow off)
    a) change the inject type to env variable (drop-down box) and type IFTTTKey as the string.
    b) change msg.payload to msg.topic
  4. in the html request, instead of entering your key, the line will instead read:
    https://(maker.ifttt.com)/trigger//with/key/{{topic}}
    (take out the ( ) in the line above...it triggered a link instead of what I wanted it to say)

It should trigger whatever function you need. By changing the payload type to topic, you can use the same Key throughout the flow. If you leave the msg.payload as payload, it only works for the first http request, then erases the payload. Changing it to topic (or something else) allows it to persist for that particular flow.