Skip to content

Instantly share code, notes, and snippets.

@antho1404
Last active December 26, 2019 03:52
Show Gist options
  • Save antho1404/8a02ac0dc79b3e8435fa1495dac0a51e to your computer and use it in GitHub Desktop.
Save antho1404/8a02ac0dc79b3e8435fa1495dac0a51e to your computer and use it in GitHub Desktop.
Workflow
key: erc20-notification
steps:
- type: trigger
instance:
src: https://github.com/mesg-foundation/service-ethereum-erc20
env:
- PROVIDER_ENDPOINT=$(env:PROVIDER_ENDPOINT)
eventKey: transfer
- type: task
instance:
src: ./convert
taskKey: address
- type: filter
conditions:
contractAddress: "0x420167d87d35c3a249b32ef6225872fbd9ab85d2"
- type: task
instance:
src: ./convert
taskKey: email
- type: task
instance:
src: https://github.com/mesg-foundation/service-email-sendgrid
env:
- SENDGRID_API_KEY=$(env:SENDGRID_API_KEY)
taskKey: send
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment