capabilities.work

Gremlin Add and Count Vertices

A 2-step recipe with Amazon Neptune. We can help you get access.

Recipe · 2 steps

Gremlin Add and Count Vertices

Add a vertex via Gremlin HTTP, then count all vertices.

  1. Add a vertex with the supplied label and name property over the Gremlin HTTP endpoint.
  2. Run a vertex count traversal to confirm the new vertex was committed.
What you'll need to have ready
  • label: The label to assign to the new vertex (e.g. person).
  • name: The value for the new vertex's name property.
For your developer

Arazzo workflow amazon-neptune:gremlin-add-and-count-vertices, 2 operations: executeGremlinTraversal → executeGremlinTraversal. Specs on APIs.io.